Skip to content

Instantly share code, notes, and snippets.

@ctrlplusb
Last active November 5, 2018 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrlplusb/8797d30f82b4a21f7d18de67f0dcbc89 to your computer and use it in GitHub Desktop.
Save ctrlplusb/8797d30f82b4a21f7d18de67f0dcbc89 to your computer and use it in GitHub Desktop.
import { StoreProvider } from 'easy-peasy';
function App() {
return (
// 👇 secondly, surround your app with the provider to expose the store to your app
<StoreProvider store={store}>
<TodoList />
</StoreProvider>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment