|
|
|
|
|
by HeyImAlex
1551 days ago
|
|
To expand on this, many of the things that hooks now make easy were bespoke per-class implementations with details that leaked into every lifecycle hook. Think of how you’d write a chain of useMemo calls in a class component to see just how bad it was. |
|