3 ms·
useState for local state or useContext (+ useReducer if it's complicated) for shared state is the "built-in" way that should be good enough for most things.
by zeroonetwothree 4mo ago
useState for local state or useContext (+ useReducer if it's complicated) for shared state is the "built-in" way that should be good enough for most things.