const App = () => (
- <LoadsProvider>
<Bacon />
- </LoadsProvider>
)
Last active
July 6, 2018 03:25
-
-
Save daveols/7d25846fcaf4984d456bbe491994f508 to your computer and use it in GitHub Desktop.
React Loads - use on individual loaders only
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 Bacon = () => ( | |
<Loads cacheKey='bacon' cacheProvider={cacheProvider} fn={getBacon}> | |
... | |
</Loads> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment