package
Split pane layout system for React and Redux. Each pane can be subdivided and any widget assigned to any pane.
npm install react-redux-subdivideGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Split pane layout system for React and Redux apps. Each pane can be subdivided and any widget assigned to any pane allowing users define layout. Panes can be:
When a new pane is created the user can chose which widget to display in that pane. The result is an application where the user can decide on an interface that suits their work flow.
It should also be possible to quickly mash up applications out of preexisting parts.
npm install react-redux-subdivideSubdivide exposes the Subdivide component, a redux reducer, and a redux-observable epic.
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import {
createStore,
combineReducers,
applyMiddleware
} from 'redux';
import { connect, Provider } from 'react-redux';
import {
createEpicMiddleware,
combineEpics
} from 'redux-observable';
import myEpics from './my-epics.js';
import {
Subdivide,
reducer as subdivideReducer,
epic as subdivideEpic
} from 'subdivide';
npm install
npm startOpen the following link in a browser:
Run the following two commands in separate terminals
npm run test:watch
npm run cover:watchThe first will start the testing scripts and rerun them on file changes. The second will run a task that will watch for file changes and run the coverage on the files.
You can open the html page displaying current coverage using the following
npm run cover:showReact-redux-subdivide is based off of the fantastic Subdivide project.
Although similar in appearence, the main differences from that project is a significant change in API, removing Immutable.js, adding the powerfull RxJS to accomplish the complex side-effects in Redux using Redux-Observable
Estimated unpacked size across 19 packages.
7.8 MB
Includes dependencies.
^15.4.2
19.3.1
^3.6.0
5.0.1
^3.0.0
5.3.0
^5.0.3
9.3.1
^6.23.0
6.26.0
^2.0.1
3.0.3
^0.14.1
3.0.0-rc.3
0.0.1
0.0.1