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

2.5.0 • Public • Published
dipole

NPM version Minzipped size codecov

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.5.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.5.0
    2
  • 2.4.0
    0
  • 2.2.9
    0
  • 2.2.8
    0

Package Sidebar

Install

npm i dipole-es3

Weekly Downloads

2

Version

2.5.0

License

MIT

Unpacked Size

231 kB

Total Files

39

Last publish

Collaborators

  • zheksoon