Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design2
/
2017110273
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2021-06-03 13:08:55 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
975b4bfe00615c2a584589782a48a6ad43ad6cbb
975b4bfe
1 parent
45fb7188
create store
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
client/src/store.js
client/src/store.js
0 → 100644
View file @
975b4bf
import
{
createStore
,
applyMiddleware
}
from
"redux"
;
import
thunk
from
"redux-thunk"
;
import
combineReducers
from
"./reducers"
;
import
{
composeWithDevTools
}
from
"redux-devtools-extension"
;
const
initialState
=
{};
const
middleware
=
[
thunk
];
const
store
=
createStore
(
combineReducers
,
initialState
,
composeWithDevTools
(
applyMiddleware
(...
middleware
))
);
export
default
store
;
Please
register
or
login
to post a comment