Created
July 23, 2021 04:16
-
-
Save patwadeepak/3a811d854961942cadef2bda9c5a62a9 to your computer and use it in GitHub Desktop.
Redux Way - App.js
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 { Provider } from "react-redux"; | |
import store from "./store"; | |
import Posts from "./Components/Posts"; | |
import PostForm from "./Components/PostForm"; | |
const App = () => ( | |
<Provider store={store}> | |
<div className="app-container"> | |
<h1>Blog Post App using Old ways of Redux</h1> | |
<PostForm /> | |
<Posts /> | |
</div> | |
</Provider> | |
); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment