|
|
|
|
|
by leodriesch
1687 days ago
|
|
I actually think that useEffect is an amazing abstraction. It lets you group related functionality like subscribing and unsubscribing into one place and makes it very difficult to leak stuff or use stale values. I didn’t write many class components beforehand though, so my mental model didn’t have to change all that much. |
|