Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.3k
Closed
Description
Prompted byreduxjs/redux#1415, please read the discussion there. We currently subscribe incomponentDidMount but it runs from children first. This has a potential of introducing inconsistencies when a child receives some update state earlier than its parent that passes a state-dependent prop to it.
Would subscribing the parents first fix the inconsistencies? Can we do that somehow (e.g. by passing subscribers up via context)?
Alternatively, can/should we wrapdispatch intoReactDOM.unstable_batchedUpdates() by default like Relay does?
Metadata
Metadata
Assignees
Labels
No labels