Skip to content

Instantly share code, notes, and snippets.

@daveols
Created July 6, 2018 02:58
Show Gist options
  • Save daveols/7bc278fe082b512e36fb72dc8562e0ba to your computer and use it in GitHub Desktop.
Save daveols/7bc278fe082b512e36fb72dc8562e0ba to your computer and use it in GitHub Desktop.
React Loads - loads provider with cacheProvider
import cacheProvider from './cache-providers/local-storage'
const App = () => (
<LoadsProvider cacheProvider={cacheProvider}>
<Bacon />
</LoadsProvider>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment