Modern React 19+ visual mental model
React 19+ adds primitives that make asynchronous mutations and resources easier to express without turning every workflow into manual loading/error state.
A form submission or transition starts work that may cross an async boundary.
Transitions and Action-aware APIs keep urgent interaction separate from async completion.
useOptimistic can project a temporary state while the real mutation is still pending.
Success, returned Action state, navigation, or an error boundary determines the final UI.
Which React 19+ primitive owns what?
Model async work that should participate in React's pending transition semantics.
Keep structured results such as validation messages and pending status around an Action.
Let descendants read the status of the parent form without lifting submission state manually.
Show a temporary expected result while the authoritative mutation is unresolved.
Read a supported resource such as a Promise or Context while letting React coordinate suspension.
Preserve UI state while changing visibility and effect behaviour for hidden work.
Traditional mutation vs Action-oriented mutation
Event handler → set pending → await request → set error/success → reset pending.
Action → React coordinates transition/pending state → result is rendered through dedicated primitives.
Optimistic UI is a projection, not truth
Where modern React stops
Keep this mental model
The fundamentals do not disappear.
They express pending work, resources, form results, and optimistic projections more directly.
Server state, client state, URLs, forms, and external systems still need clear ownership boundaries.
Continue with Actions and Async Transitions for the detailed APIs and production patterns.