Created
July 7, 2018 13:17
-
-
Save saigowthamr/55a8097cffca4b1ff872df6282dbe4d9 to your computer and use it in GitHub Desktop.
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, { Component } from "react"; | |
import CounterButtons from "./counterbuttons"; | |
import Text from "./text"; | |
import Todo from "./todo"; | |
import FetchData from "./fetch"; | |
import { getState} from "./store"; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<h1>Counter</h1> | |
<h1>{getState().num}</h1> | |
<CounterButtons /> | |
<h1>Todo</h1> | |
<Todo /> | |
<h1>Fetch Data</h1> | |
<FetchData /> | |
</div> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment