Created
September 3, 2018 09:11
-
-
Save drex44/deb755b266d7f2f68c084a7124d67e7d to your computer and use it in GitHub Desktop.
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, { Component } from "react"; | |
import logo from "./logo.svg"; | |
import "./App.css"; | |
import ToDO from "./pages/todo"; | |
import { Provider as ReduxProvider } from "react-redux"; | |
import configureStore from "./modules/store"; | |
const reduxStore = configureStore(window.REDUX_INITIAL_DATA); | |
class App extends Component { | |
render() { | |
return ( | |
<ReduxProvider store={reduxStore}> | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> | |
<h1 className="App-title">ToDo Redux app</h1> | |
</header> | |
<ToDO /> | |
</div> | |
</ReduxProvider> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment