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

Change misleading code in Roact.Change example #196

Merged
merged 1 commit into from
May 2, 2019
Merged

Change misleading code in Roact.Change example #196

merged 1 commit into from
May 2, 2019

Conversation

DarraghGriffin
Copy link
Contributor

GetPropertyChangedSignal does not pass the new value of the property to the function and the Roact.Change handler doesn't add this functionality so the current example code is slightly misleading.

GetPropertyChangedSignal does not pass the new value of the property to the function and the Roact.Change handler doesn't add this functionality so the current example code is slightly misleading.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.847% when pulling c574bc9 on DarraghGriffin:patch-1 into fdf4d39 on Roblox:master.

@LPGhatguy
Copy link
Contributor

Cool, thanks for the doc fix!

@LPGhatguy LPGhatguy merged commit 4a8b70f into Roblox:master May 2, 2019
@DarraghGriffin DarraghGriffin deleted the patch-1 branch May 3, 2019 12:28
ZoteTheMighty added a commit that referenced this pull request May 3, 2019
* Remove references to 'primitive' components/elements

* Adjust some wording around kinds of components, fix broken link

* functional component -> function component

* Avoid usage of the verb 'reconcile' where not directly applicable

* Deprecate Roact.reconcile in favor of Roact.update in master (#194)

* Update CHANGELOG

* Remove undocumented APIs `getGlobalConfigValue` and `Element` (#195)

* Roact.reconcile replaced with Roact.update, uses of reconcile changed to update. Occasional mentions of 'the Roact reconciler' have been changed to simply 'Roact'

* Add version info to new apis, more details to validateProps, added section for setGlobalConfig

* Added the 'enable tracebacks' message to other places that try to use element tracebacks

* Change misleading code in Roact.Change example (#196)

* PR comments: mention deprecated names, fix links

* Rename propertyValidation config key to propValidation, add code snippet for enabling it to docs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants