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

How to handle func prop types #30

Open
almeynman opened this issue Nov 15, 2017 · 0 comments
Open

How to handle func prop types #30

almeynman opened this issue Nov 15, 2017 · 0 comments

Comments

@almeynman
Copy link

Hello! Thanks for this awesome library

If I understand correctly than cache store's key is constructed using JSON.stringify and hashing. However JSON.stringify does not handle function properties.

The problem is that I want to use a simple strategy with most of my dumb components, however I cannot just disregard function props, as the uniqueness of props combination is not guaranteed then.

What do you suggest? I can only think of using a custom genCacheKey function...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant