Skip to content
These libraries provide tools for building dynamic Redux stores.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
packages
.all-contributorsrc
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE.md
PULL_REQUEST_TEMPLATE.md
README.md
lerna.json
package-lock.json
package.json
renovate.json

README.md

redux-dynostore

build status npm version npm downloads License: BSD-3-Clause

All Contributors PRs Welcome

Watch on GitHub Star on GitHub

These libraries provide tools for building dynamic Redux stores.

Usage

Make a dynostore, including the dynamic enhancers you need:

import dynostore, { dynamicReducers }  from '@redux-dynostore/core'
import { dynamicSagas } from '@redux-dynostore/redux-saga'

const sagaMiddleware = createSagaMiddleware()

const store = createStore(reducer, compose(
  applyMiddleware(sagaMiddleware),
  dynostore(
    dynamicReducers(),
    dynamicSagas(sagaMiddleware)
  )
))

Make a dynamic component:

import dynamic from '@redux-dynostore/react-redux'
import subspaced from '@redux-dynostore/react-redux-subspace'
import { attachReducer } from '@redux-dynostore/redux-subspace'
import runSaga from '@redux-dynostore/redux-subspace-saga'

export default dynamic('identifier', subspaced(), attachReducer(myReducer), runSaga(mySaga))(MyComponent)

Packages

FAQ

Whats with the name?

It's about adding dynamic features to redux stores… And it sounds like dinosaur. Raaaawwwwwrrrrrr!

Media

Contributors

Thanks goes to these wonderful people (emojis):


Michael Peyper

💬 🐛 💻 📖 💡 🤔 🚇 👀 📦 📢 ⚠️ 🔧

Jonathan Peyper

💬 🐛 💻 🤔 👀 ⚠️

Greg Miller

💡

Ethorsen

💻 📖 ⚠️

Jake88

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind are welcome!

You can’t perform that action at this time.