You will learn
A Redux-shaped app keeps everything in one store, and not every update to it is the same kind. Changing the period can render in the background, so it belongs in a Transition. A keystroke cannot — it has to appear as you type, which is an ordinary blocking update. All three columns below put the period change in a Transition; they differ in what they do with the keystroke.
Try it
Notice that the first column loses the dashboard, the second keeps the dashboard but ignores your typing, and only the third does both.
useSyncExternalStoreblockingReads the store the way useSelector reads one today.
useStoretransitionEvery dispatch is a Transition, so nothing can overtake.
useStorebothThe caller marks each dispatch, the way React marks any update.