Created
July 6, 2018 03:15
-
-
Save daveols/692a234d5dc5090dcde9be69e0fb5800 to your computer and use it in GitHub Desktop.
React Loads - loads level cache provider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const customCacheProvider = { | |
get: ..., | |
set: ... | |
} | |
const Bacon = () => ( | |
<Loads cacheKey='bacon' cacheProvider={customCacheProvider} fn={getBacon}> | |
... | |
</Loads> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment