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

Cache based on context #14

Closed
petermikitsh opened this issue Feb 7, 2017 · 2 comments
Closed

Cache based on context #14

petermikitsh opened this issue Feb 7, 2017 · 2 comments

Comments

@petermikitsh
Copy link

Looking at the keyGenerator function in the docs, it appears to have this method signature:

function keyGenerator(props) { ... }

Is it possible to inspect context as well? I would need to include data from the context in my key.

Thanks!

@maximenajim
Copy link
Contributor

@petermikitsh interesting thought, but we haven't had a need for passing down the context. Is this something you'd be interested in contributing?

@petermikitsh
Copy link
Author

My requirements have changed, this would no longer be needed. Would be a cool idea for someone else to work on, if they had the need for it.

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

No branches or pull requests

2 participants