Socket
Socket
Sign inDemoInstall

dipole-es3

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

dipole-es3

dipole - tiny reactive state management that just works


Version published
Maintainers
1
0

Weekly downloads

Readme

Source
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

Keywords

FAQs

Last updated on 28 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc