UNPKG
@chickendinosaur/storex
Version:
latest (8.0.4)
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
7.0.0
6.0.0
5.1.8
5.1.7
5.1.6
5.1.5
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.0
4.0.1
4.0.0
3.1.0
3.0.0
2.0.0
1.0.2
1.0.1
1.0.0
Front-end state management system.
github.com/chickendinosaur/storex
chickendinosaur/storex
@chickendinosaur/storex
/
lib
/
create-reducer.js
11 lines
(10 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
function
createReducer
(
id, getDefaultState, actionMap
) {
return
{ id, getDefaultState, actionMap }; }
exports
.
default
= createReducer;