Skip to content

fix(component): initialize with correct data #42

New issue

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

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

Already on GitHub? # to your account

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant