You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For example we have a form that creates / edit an item. If it is null we treat as create. But it takes time for the item to load so:
<Stateinitial={item}></State>
will have problem because even if item is changed from null to the actual info, the store in State will not change accordingly, so we have to not mount it til loaded like this:
Is your feature request related to a problem? Please describe.
For example we have a form that creates / edit an item. If it is null we treat as create. But it takes time for the item to load so:
will have problem because even if
item
is changed from null to the actual info, the store inState
will not change accordingly, so we have to not mount it til loaded like this:Describe the solution you'd like
Add a prop that makes
State
reset the store again on prop change?Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: