Re:A guide to useEffect in React
by WA on Monday March 11, 2019 @06:37AM
(#19357917)
In a way, they are merely syntactical sugar.
I agree with the parent poster. Before, you had functional stateless components. Now you have components that look functional and stateless, but are in fact stateful (and impure).
I agree with the parent poster. Before, you had functional stateless components. Now you have components that look functional and stateless, but are in fact stateful (and impure).