Skip to content

Instantly share code, notes, and snippets.

View drakoan's full-sized avatar
🏠
Working from home

Dmitrii Bogdanov drakoan

🏠
Working from home
View GitHub Profile
@nin-jin
nin-jin / wire.md
Last active July 7, 2023 06:53
JS Proposal: Auto Wire

Reactivity API to wire any reactive libs and native states together. It allows to mix different reactive libs, use async functions with automatic dependency tracking, observe any states in same way, make native DOM reactive etc.

Rationale

Current State

  1. Most of modern apps based on reactive paradigm.
  2. Popular and promising approach is pull-reactivity.
  3. Pull-reactivity achieves automatic dependency trackig, automatic data-flow optimization and resources lifetime control. See the analysis of reactivity approaches.
  4. Famed pull-reactivity libs: MobX, VueJS, $mol.