dipole
TypeScript icon, indicating that this package has built-in type declarations

2.6.1 • Public • Published
dipole

NPM version Minzipped size codecov

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

/dipole/

    Package Sidebar

    Install

    npm i dipole

    Weekly Downloads

    20

    Version

    2.6.1

    License

    MIT

    Unpacked Size

    218 kB

    Total Files

    44

    Last publish

    Collaborators

    • zheksoon