Created
February 25, 2022 18:51
-
-
Save bashidagha/e233f26bcd8f2c7fd6aa074fb6ba67af 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 {createStore} from 'redux' | |
const initialState = {username : "Farshid"}; | |
const returnStateReducer = (state= initialState) =>{ | |
return state; | |
} | |
const store =createStore(returnStateReducer); | |
const App= () => { | |
return ( | |
<div> | |
<h1>Hello World</h1> | |
</div> | |
) | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment