https://github.com/captaincodeman/rdx-example
Example of Rdx ("Reduced Redux")
https://github.com/captaincodeman/rdx-example
Last synced: 9 months ago
JSON representation
Example of Rdx ("Reduced Redux")
- Host: GitHub
- URL: https://github.com/captaincodeman/rdx-example
- Owner: CaptainCodeman
- Created: 2019-12-01T22:27:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:19:39.000Z (about 3 years ago)
- Last Synced: 2025-04-04T10:36:30.233Z (10 months ago)
- Language: TypeScript
- Size: 1.77 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# rdx-example
An example app to test and demonstrate "rdx" - like Redux, but smaller
This app creates a **3.1 Kb** JS bundle for an SPA including:
* Redux-like store (actions + reducers + middleware)
* Redux devtools integration (load page with [chrome extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en))
* Utils to reduce store boilerplate
* Persistence / hydration middleware (localStorage)
* Async 'thunk' middleware
* Client-side routing with params
* UI components bound to state store
See [live demo](https://captaincodeman.github.io/rdx-example/)
This is build using [rdx](https://github.com/CaptainCodeman/rdx), a tiny redux-like state store, and [rdx-model](https://github.com/CaptainCodeman/rdx-model) which helps define store models and also adds async effect handling and routing using a [tiny router](https://github.com/CaptainCodeman/js-router)