Skip to content
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

Added reuseCallback #8

Merged
merged 1 commit into from Apr 3, 2019

Conversation

Projects
None yet
2 participants
@adamkleingit
Copy link
Collaborator

adamkleingit commented Mar 31, 2019

No description provided.

@adamkleingit adamkleingit requested a review from morsdyce Mar 31, 2019

@morsdyce

This comment has been minimized.

Copy link
Collaborator

morsdyce commented Mar 31, 2019

Why is this needed in context of reusable? shouldn't react useCallback be enough?

@adamkleingit

This comment has been minimized.

Copy link
Collaborator Author

adamkleingit commented Apr 3, 2019

No, because caching is in global level, not per component (like reuseMemo)

@morsdyce morsdyce merged commit 0f30c6f into master Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.