dipole-es3
v2.5.0
Published
dipole - tiny reactive state management that just works
Downloads
8
Maintainers
Readme
Important: this is ES3-compatable version of dipole which implements custom HashSet
data structure instead of ES6 Set
. The implementation is fully compatable with original dipole and also consistently 2-3x faster in some scenarios. IE9 tests are pending.
dipole is tiny (just about 2K min gz) reactive state management library that could be used standalone or with React/Preact. It's heavily inspired by MobX and was initially thought as a pedagogical re-implementation of its core features, and had grown later to a complete library. At this moment dipole can be seen as MobX minus "magic".
dipole features
- Clean and minimalistic object-oriented implementation of observable/functional reactive paradigm in about 500 lines of code
- Opaque data structures - you can easily examine dipole internals in debugger, no class fields is mangled
- Performance optimizations - even with a huge amount of observable/computed values dipole runs as efficiently as possible
- Good test suit - 100% test coverage for complex use cases
Installation
npm install --save dipole
Documentation
Check out the full documentation on dipole.js.org
Introduction
Check out the introduction page
Examples
Check out the Examples page
Author
Eugene Daragan
License
MIT