0.3.1 • Published 7 years ago

pages-redux v0.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

pages-redux build status

The declarative pages architecture for building web UI working with redux.

Documentation

To create a page reducer:

import {createPageReducer} from 'pages-redux';
let reducer = createPageReducer(yourInitialState);

To create an normal page update action:

 import {createSetPagePropsAction} from 'pages-redux';
 let action = createSetPagePropsAction(['home-page', 'camera-page'], {flash: true});

Installation

npm install pages-redux