Skip to content

fix(component): initialize with correct data#42

Open
lukasluecke wants to merge 1 commit intocharlypoly:masterfrom
lukasluecke:patch-2
Open

fix(component): initialize with correct data#42
lukasluecke wants to merge 1 commit intocharlypoly:masterfrom
lukasluecke:patch-2

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