electrode-react-ssr-caching
electrode-react-ssr-caching copied to clipboard
How to handle func prop types
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...