Home

Awesome

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 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):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="https://github.com/mpeyper"><img src="https://avatars0.githubusercontent.com/u/23029903?v=4" width="100px;" alt=""/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href="#question-mpeyper" title="Answering Questions">πŸ’¬</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/issues?q=author%3Ampeyper" title="Bug reports">πŸ›</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=mpeyper" title="Code">πŸ’»</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=mpeyper" title="Documentation">πŸ“–</a> <a href="#example-mpeyper" title="Examples">πŸ’‘</a> <a href="#ideas-mpeyper" title="Ideas, Planning, & Feedback">πŸ€”</a> <a href="#infra-mpeyper" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/pulls?q=is%3Apr+reviewed-by%3Ampeyper" title="Reviewed Pull Requests">πŸ‘€</a> <a href="#platform-mpeyper" title="Packaging/porting to new platform">πŸ“¦</a> <a href="#talk-mpeyper" title="Talks">πŸ“’</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=mpeyper" title="Tests">⚠️</a> <a href="#tool-mpeyper" title="Tools">πŸ”§</a></td> <td align="center"><a href="https://github.com/jpeyper"><img src="https://avatars2.githubusercontent.com/u/6560018?v=4" width="100px;" alt=""/><br /><sub><b>Jonathan Peyper</b></sub></a><br /><a href="#question-jpeyper" title="Answering Questions">πŸ’¬</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/issues?q=author%3Ajpeyper" title="Bug reports">πŸ›</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=jpeyper" title="Code">πŸ’»</a> <a href="#ideas-jpeyper" title="Ideas, Planning, & Feedback">πŸ€”</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/pulls?q=is%3Apr+reviewed-by%3Ajpeyper" title="Reviewed Pull Requests">πŸ‘€</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=jpeyper" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/Gregor1971"><img src="https://avatars3.githubusercontent.com/u/11048958?v=4" width="100px;" alt=""/><br /><sub><b>Greg Miller</b></sub></a><br /><a href="#example-Gregor1971" title="Examples">πŸ’‘</a></td> <td align="center"><a href="https://github.com/Ethorsen"><img src="https://avatars2.githubusercontent.com/u/1493968?v=4" width="100px;" alt=""/><br /><sub><b>Ethorsen</b></sub></a><br /><a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=Ethorsen" title="Code">πŸ’»</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=Ethorsen" title="Documentation">πŸ“–</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=Ethorsen" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/Jake88"><img src="https://avatars0.githubusercontent.com/u/6849798?v=4" width="100px;" alt=""/><br /><sub><b>Jake88</b></sub></a><br /><a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=Jake88" title="Code">πŸ’»</a> <a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=Jake88" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/macklay"><img src="https://avatars3.githubusercontent.com/u/6972011?v=4" width="100px;" alt=""/><br /><sub><b>Nick Smirnov</b></sub></a><br /><a href="https://github.com/ioof-holdings/@redux-dynostore/core/commits?author=macklay" title="Code">πŸ’»</a></td> </tr> </table> <!-- markdownlint-enable --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

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