Created
July 6, 2019 14:08
-
-
Save vslala/d902b7c0d70fac0cb0ef96beadd75d1b to your computer and use it in GitHub Desktop.
App - The main file that bootstraps the entire hello world react application with redux
This file contains hidden or 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 logo from './logo.svg'; | |
| import './App.css'; | |
| import HelloWorld from './components/HelloWorld'; | |
| import { Provider } from 'react-redux'; | |
| import store from './store'; | |
| import ButtonGroup from './components/ButtonGroup'; | |
| function App() { | |
| return ( | |
| <Provider store={store}> | |
| <div className="App"> | |
| <HelloWorld /> | |
| <ButtonGroup technologies={["React", "Angular", "Elm"]} /> | |
| </div> | |
| </Provider> | |
| ); | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment