-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix custom keys with defaultValue, and remove hot reload from product…
…ion bundle
- Loading branch information
1 parent
4e2a52d
commit e881529
Showing
9 changed files
with
52 additions
and
33 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import ReduxStore from 'store/'; | ||
import ReduxStore from 'store/productionStore'; | ||
export default ReduxStore; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import PlayGround from 'PlayGround'; | ||
|
||
const ReduxStore = ownProps => { | ||
const store = ownProps.store; | ||
return( | ||
<Provider store={ store }> | ||
<PlayGround /> | ||
</Provider> | ||
); | ||
} | ||
|
||
export default ReduxStore; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import App from 'components/'; | ||
import { createStore, applyMiddleware } from 'redux'; | ||
import thunkMiddleware from 'redux-thunk'; | ||
import reducer from 'reducers'; | ||
|
||
const ReduxStore = ownProps => { | ||
const store = createStore( reducer, applyMiddleware( thunkMiddleware ) ); | ||
return( | ||
<Provider store={ store }> | ||
<App { ...ownProps } /> | ||
</Provider> | ||
); | ||
} | ||
|
||
export default ReduxStore; |