Skip to content

Conversation

lukasluecke
Copy link
Contributor

use props instead of state on mount, to properly initialize conditional fields

#39 (comment)

use props instead of state for mount, to properly initialize conditional fields
@lukasluecke
Copy link
Contributor Author

Since we set the state to the props at the same time anyway, they will eventually be equal - just not initially.

@lukasluecke
Copy link
Contributor Author

@wittydeveloper Any chance you could merge this one as well?

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.

1 participant