Skip to content

Instantly share code, notes, and snippets.

View rushijagani's full-sized avatar
🏠
Working | Exploring | Accelerating from home

Rushi Jagani rushijagani

🏠
Working | Exploring | Accelerating from home
View GitHub Profile
@vre2h
vre2h / Root.js
Last active November 12, 2020 18:19
How to configure Store and use localStorage with react and redux.
import React from 'react';
import { Provider } from 'react-redux';
import { PropTypes } from 'prop-types';
import App from './App';
const Root = ({ store }) => (
<Provider store={store}>
<App />
</Provider>
);