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