Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Update changelog and versions, add note in doc for forwardRef (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoteTheMighty authored May 25, 2021
1 parent 058e3c6 commit fe67d5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Roact Changelog

## Unreleased Changes

## [1.4.0](https://github.com/Roblox/roact/releases/tag/v1.4.0) (November 19th, 2020)
* Introduce forwardRef ([#307](https://github.com/Roblox/roact/pull/307)).
* Fixed a bug where the Roact tree could get into a broken state when processing changes to child instances outside the standard lifecycle.
* This change is behind the config value tempFixUpdateChildrenReEntrancy ([#301](https://github.com/Roblox/roact/pull/301))
Expand Down
3 changes: 3 additions & 0 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ Creates a new reference object that can be used with [Roact.Ref](#roactref).
---

### Roact.forwardRef

!!! success "Added in Roact 1.4.0"

```
Roact.createRef(render: (props: table, ref: Ref) -> RoactElement) -> RoactComponent
```
Expand Down
2 changes: 1 addition & 1 deletion rotriever.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name = "roblox/roact"
author = "Roblox"
license = "Apache-2.0"
content_root = "src"
version = "1.3.1"
version = "1.4.0"

0 comments on commit fe67d5e

Please sign in to comment.