|
|
|
|
|
by drekembemutombo
2751 days ago
|
|
Enjoying your posts, keep them up! Hooks look like a very powerful API for sharing pieces of functionality between components. You've probably heard this one a lot, but what bothers me a bit about hooks (especially useState) is that before, when you saw a component defined as a function, you could assume that it was just a function that renders something based on its props. However, I think it's a fair trade-off for such a powerful API. |
|
React.memo() is all the more useful of a signal in the Hooks world.