on Intent
Process an intent and update state accordingly.
This is the main entry point for state mutations. All state changes must go through this function. It:
Passes the intent to the reducer
Updates the state
Updates undo/redo availability
Handles side effects (events, persistence)
Parameters
intent
The user action or system event
See also
for available intent types