Stop Using useEffect for Derived State in React
Calculate during render for simple values. Use a declarative model when relationships belong to a shared business graph.

Calculate during render for simple values. Use a declarative model when relationships belong to a shared business graph.

Why Declarative Dependency Graphs Win

Why one nested update re-renders a whole subtree, the standard fixes, and a path-based reactive kernel approach with .me
