AlgoGymPreparationInterview Preparations
Cool NotesReact state and effects
All notes

React state and effects

React · Original AlgoGym revision note with a source for deeper study.

React
  1. Keep render pure and derive values from props and state when possible.
  2. Effects synchronize with external systems; they are not a default data-transformation tool.
  3. Stable keys identify items across reorders and protect their local state.
Read more at React documentation