https://github.com/zheksoon/dipole
dipole - tiny reactive state management that just works
https://github.com/zheksoon/dipole
computed frp mobx observable react reactive reactive-programming state-management tfrp
Last synced: about 1 year ago
JSON representation
dipole - tiny reactive state management that just works
- Host: GitHub
- URL: https://github.com/zheksoon/dipole
- Owner: zheksoon
- License: mit
- Created: 2018-09-29T07:37:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T16:38:29.000Z (over 2 years ago)
- Last Synced: 2025-03-26T17:53:48.730Z (over 1 year ago)
- Topics: computed, frp, mobx, observable, react, reactive, reactive-programming, state-management, tfrp
- Language: TypeScript
- Homepage: https://dipole.js.org
- Size: 1.58 MB
- Stars: 24
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/dipole)
[](https://www.npmjs.com/package/dipole)
[](https://codecov.io/gh/zheksoon/dipole)
**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](https://github.com/mobxjs/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
```bash
npm install --save dipole
```
## Documentation
Check out the [full documentation on **dipole.js.org**](https://dipole.js.org)
## Introduction
Check out the [introduction page](https://dipole.js.org/introduction/)
## Examples
Check out the [Examples page](https://dipole.js.org/examples/)
## Author
Eugene Daragan
## License
MIT