Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
react-spd
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 328e72f1
authored
Jun 08, 2017
by
hfpp2012 yinsigan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add redux-logger
1 parent
413e98bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
package.json
src/index.js
yarn.lock
package.json
View file @
328e72f
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
"react-redux"
:
"^5.0.5"
,
"react-redux"
:
"^5.0.5"
,
"react-router-dom"
:
"^4.1.1"
,
"react-router-dom"
:
"^4.1.1"
,
"redux"
:
"^3.6.0"
,
"redux"
:
"^3.6.0"
,
"redux-logger"
:
"^3.0.6"
,
"webpack"
:
"^2.5.1"
,
"webpack"
:
"^2.5.1"
,
"webpack-dev-server"
:
"^2.4.5"
"webpack-dev-server"
:
"^2.4.5"
},
},
...
...
src/index.js
View file @
328e72f
...
@@ -8,12 +8,13 @@ import {
...
@@ -8,12 +8,13 @@ import {
import
RegionalDesign
from
'./components/RegionalDesign'
import
RegionalDesign
from
'./components/RegionalDesign'
import
{
createStore
}
from
'redux'
import
{
applyMiddleware
,
createStore
}
from
'redux'
import
logger
from
'redux-logger'
import
{
Provider
,
connect
}
from
'react-redux'
import
{
Provider
,
connect
}
from
'react-redux'
import
rootReducer
from
'./reducers'
import
rootReducer
from
'./reducers'
const
store
=
createStore
(
rootReducer
)
const
store
=
createStore
(
rootReducer
,
applyMiddleware
(
logger
)
)
ReactDOM
.
render
(
ReactDOM
.
render
(
<
Provider
store
=
{
store
}
>
<
Provider
store
=
{
store
}
>
...
...
yarn.lock
View file @
328e72f
...
@@ -1651,6 +1651,10 @@ decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2:
...
@@ -1651,6 +1651,10 @@ decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2:
version "1.2.0"
version "1.2.0"
resolved "http://registry.npm.taobao.org/decamelize/download/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
resolved "http://registry.npm.taobao.org/decamelize/download/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
deep-diff@^0.3.5:
version "0.3.8"
resolved "http://registry.npm.taobao.org/deep-diff/download/deep-diff-0.3.8.tgz#c01de63efb0eec9798801d40c7e0dae25b582c84"
deep-extend@~0.4.0:
deep-extend@~0.4.0:
version "0.4.2"
version "0.4.2"
resolved "http://registry.npm.taobao.org/deep-extend/download/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
resolved "http://registry.npm.taobao.org/deep-extend/download/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
...
@@ -4331,6 +4335,12 @@ reduce-function-call@^1.0.1:
...
@@ -4331,6 +4335,12 @@ reduce-function-call@^1.0.1:
dependencies:
dependencies:
balanced-match "^0.4.2"
balanced-match "^0.4.2"
redux-logger@^3.0.6:
version "3.0.6"
resolved "http://registry.npm.taobao.org/redux-logger/download/redux-logger-3.0.6.tgz#f7555966f3098f3c88604c449cf0baf5778274bf"
dependencies:
deep-diff "^0.3.5"
redux@^3.6.0:
redux@^3.6.0:
version "3.6.0"
version "3.6.0"
resolved "http://registry.npm.taobao.org/redux/download/redux-3.6.0.tgz#887c2b3d0b9bd86eca2be70571c27654c19e188d"
resolved "http://registry.npm.taobao.org/redux/download/redux-3.6.0.tgz#887c2b3d0b9bd86eca2be70571c27654c19e188d"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment