State updates, batching, immutable updates, derived state, and lifting state up
State updates are asynchronous in effect, batched for efficiency, and should be performed immutably.
- Do not mutate state directly
- Batching reduces extra renders
- Lift state up when multiple siblings depend on the same source
State updates, batching, immutable updates, derived state, and lifting state up