Last active
May 8, 2019 16:34
-
-
Save cyb3rsalih/a384e876c3f4344d433f0e8c5f2499b1 to your computer and use it in GitHub Desktop.
Redux-1
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
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './css/index.css'; | |
import App from './pages/App'; | |
import {BrowserRouter as Router } from 'react-router-dom' | |
import { createStore } from 'redux' | |
const store = createStore() | |
ReactDOM.render(<Router> <App/> </Router> , document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment