Skip to content

Conversation

piscolomo
Copy link
Contributor

props are inmutables, so just states can change over time.

props are inmutables, so just states can change over time.
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@syranide
Copy link
Contributor

It's correct as it is, props can change over time and that's why you may want to store some of them in state, so you still have a reference to the initial/previous value.

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.

4 participants