CaptainCodeman / rdx-example

Example of Rdx ("Reduced Redux")

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

This is build using rdx, a tiny redux-like state store, and rdx-model which helps define store models and also adds async effect handling and routing using a tiny router

About

Example of Rdx ("Reduced Redux")


Languages

Language:TypeScript 77.3%Language:JavaScript 22.7%