项目作者: ioof-holdings

项目描述 :
These libraries provide tools for building dynamic Redux stores.
高级语言: JavaScript
项目地址: git://github.com/ioof-holdings/redux-dynostore.git
创建时间: 2018-04-16T23:35:08Z
项目社区:https://github.com/ioof-holdings/redux-dynostore

开源协议:BSD 3-Clause "New" or "Revised" License

下载


redux-dynostore

Deprecated

This library is no longer being actively maintained.

IOOF has been slowly moving away from the ubiquitous use of Redux as a core piece of our micro-frontend architecture and have been actively replacing
the usage of this library with more standard React and JavaScript patterns. Due to some technical constraints, we’ve also been unable to upgrade to
the latest version of the library ourselves for quite some time now, further fuelling our desire to move away from this solution.

At this time, we will be ceasing all maintenance tasks and we recommend that you consider using an alternative library:

If you want to continue using this library, we encourage you to fork this repo and take over maintenance yourself.


build status
@redux-dynostore/core"">npm version
@redux-dynostore/core"">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:

  1. import dynostore, { dynamicReducers } from '@redux-dynostore/core'
  2. import { dynamicSagas } from '@redux-dynostore/redux-saga'
  3. const sagaMiddleware = createSagaMiddleware()
  4. const store = createStore(reducer, compose(
  5. applyMiddleware(sagaMiddleware),
  6. dynostore(
  7. dynamicReducers(),
  8. dynamicSagas(sagaMiddleware)
  9. )
  10. ))

Make a dynamic component:

  1. import dynamic from '@redux-dynostore/react-redux'
  2. import subspaced from '@redux-dynostore/react-redux-subspace'
  3. import { attachReducer } from '@redux-dynostore/redux-subspace'
  4. import runSaga from '@redux-dynostore/redux-subspace-saga'
  5. 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

💻 ⚠️

Nick Smirnov

💻

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