-
Notifications
You must be signed in to change notification settings - Fork 1
New npm module #1
Conversation
.editorconfig
Outdated
@@ -0,0 +1,11 @@ | |||
# http://editorconfig.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sjednotit s react-union
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
README.md
Outdated
@@ -1,3 +1,104 @@ | |||
# redux-extensible-store | |||
|
|||
Redux extension that allows you to dynamickly inject new reducers and sagas into you running application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dynamically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
README.md
Outdated
|
||
## Why? | ||
|
||
If you are using dynamic imports or some kind of a code splitting then you probably need to register new reducers and sagas the time your JS chunk is loaded. So what does this module provides? We call these ad-hoc loaded modules a widgets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at the time
@@ -0,0 +1,26 @@ | |||
import babel from 'rollup-plugin-babel'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mrkni na rollup.config v react-union, generuje se tam ještě ecmascript build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
.editorconfig
Outdated
@@ -0,0 +1,11 @@ | |||
# http://editorconfig.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prosím, sjednotit s react-union
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
README.md
Outdated
@@ -1,3 +1,104 @@ | |||
# redux-extensible-store | |||
|
|||
Redux extension that allows you to dynamickly inject new reducers and sagas into you running application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dynamically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
README.md
Outdated
|
||
## Why? | ||
|
||
If you are using dynamic imports or some kind of a code splitting then you probably need to register new reducers and sagas the time your JS chunk is loaded. So what does this module provides? We call these ad-hoc loaded modules a widgets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at the time
@@ -0,0 +1,59 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chybí contributor, keywords a "es" entry point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
import invariant from 'invariant'; | ||
import injectionMiddleware from './injectionMiddleware'; | ||
|
||
const createReducers = asyncReducers => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tome, asi se na mě naštveš, ale me ten zápis ze snipetu příjde méně přehledný :(
src/extensibleStore.js
Outdated
const cancelSaga = key => { | ||
if (!isNil(store.injectedSagas[key])) { | ||
store.injectedSagas[key].task.cancel(); | ||
store.injectedSagas[key] = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.