three-ducks
v1.7.0
Published
As if Redux was written as plugins
Downloads
9
Maintainers
Readme
three-ducks
Tiny Redux clone with plugins.
- Tiny — core is only 5 lines of code,
redux
preset is 0.6Kb - All Redux APIs —
.subscribe()
,.getState()
,.dispatch()
, etc. — as separate plugins - Faster than Redux — see benchmark results
- 100% compatible — works with
react-redux
, passes ReduxcreateStore()
test suite - Public domain — Unlicense license
Reference
See also
nano-css
— Distilled CSS-in-JS for gourmet developers
Benchmark
Running a simple "counter" micro-benchmark.
three-ducks (with redux preset) x 1,076 ops/sec ±2.58% (47 runs sampled)
redux x 494 ops/sec ±4.40% (43 runs sampled)
Fastest is three-ducks (with redux preset)