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

fix(component): initialize with correct data #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix(component): initialize with correct data #42

wants to merge 1 commit into from

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.

None yet

1 participant