Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capture state changes before useSelect subscription
In the event that a child component dispatched an action modifying the store, the changes in the store were lost due to `useSelect`'s `useIsomorphicLayoutEffect` referencing a stale value. This change ensures the `useIsomorphicLayoutEffect` references the latest `mapOutput` when setting the related `latestMapOutput.current` value.
- Loading branch information