https://github.com/bitflower/redux-reducer-registry
Dynamic Redux registry tool for lazy loading reducers written in Typescript.
https://github.com/bitflower/redux-reducer-registry
code-splitting lazy-loading pwa reducer redux stenciljs
Last synced: 8 months ago
JSON representation
Dynamic Redux registry tool for lazy loading reducers written in Typescript.
- Host: GitHub
- URL: https://github.com/bitflower/redux-reducer-registry
- Owner: bitflower
- Created: 2018-07-17T18:23:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T06:23:41.000Z (over 7 years ago)
- Last Synced: 2025-06-24T23:20:04.882Z (8 months ago)
- Topics: code-splitting, lazy-loading, pwa, reducer, redux, stenciljs
- Language: TypeScript
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redux-reducer-registry
Dynamic Redux registry tool for lazy loading reducers written in Typescript.
## Why do I need this ?
PWA are slowly taking over the app and website space. Asyncronuous ("lazy") loading components and app parts is beoming more and more popular. With tools like [StencilJS](https://stenciljs.com/) supporting lazy loading out of the box developers will more and more feel the need to organise their code bases in functional modules without having to worry about the build process.
This Redux helper helps with this.
## Usage
See the [demo repo](https://github.com/bitflower/stencil-redux-reducer-registry).
## Credits
The idea and source code was originally written by the DEV team at Twitter, see this post:
[Twitter: Redux modules and code-splitting](http://nicolasgallagher.com/redux-modules-and-code-splitting/)
The post referencing the Twitter solution was written by Dan Abramov on [Stack Overflow](https://stackoverflow.com/questions/32968016/how-to-dynamically-load-reducers-for-code-splitting-in-a-redux-application).