-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(react) - Update initial state to not require abort on mount
Previously, the `useSyncExternalStore` reimplementation regressed on us constructing the correct initial state on mount, and instead relied on an abort on mount, which is confusing to users. Instead, we can simply revert to what we've done prior to the change and ensure that the initial state is accurate.
- Loading branch information
Showing
1 changed file
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters