Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass setProps function to React components #1466

Merged
merged 4 commits into from Oct 23, 2022
Merged

Pass setProps function to React components #1466

merged 4 commits into from Oct 23, 2022

Conversation

exyi
Copy link
Member

@exyi exyi commented Sep 11, 2022

Since React does not have any standard way of writing values back, it does not make sense to attempt any automagic solution. This simply allows developers to handle the changes themselves

If a property called setProps is used, it has precedence, so then it's not possible to update it

Since React does not have any standard way of writing values back,
it does not make sense to attempt any automagic solution.
This simply allows developers to handle the changes themselves

If a property called `setProps` is used, it has precedence, so then it's
not possible to update it
@exyi exyi merged commit aef63fc into main Oct 23, 2022
@exyi exyi deleted the react-setProps branch October 23, 2022 18:54
@exyi exyi added this to the Version 4.1 milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants