-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will useMemo replace reselect? #386
Comments
With only a cursory glance, I would assume that As far as I know the original intent was to couple With that said, |
Reselect is indeed useful anywhere, and can be used totally independent of Redux. Really, its competition is libs like For Redux usage, we recommend using selectors anywhere you access the Redux state tree, not just in |
Ha, I dunno what I was thinking. I know Hooks only work in React components. Sigh. Thanks for your patience and the excellent response guys! 👍 Closing. :) |
But in terms of using it within react apps, will there be any reasons for not replacing it with memo hooks? |
One stylistic difference is: with |
But rendering is not the same as commit in react terms. For detailed explanation on the same |
No, they are different. |
I'm curious whether the memory usage of |
Is there anything reselect offers that useMemo can't handle?
The text was updated successfully, but these errors were encountered: