DEV Community

Cover image for Lightweight replacement of React + MobX
Iurii Panarin
Iurii Panarin

Posted on

Lightweight replacement of React + MobX

FastDom

Lightweight replacement of React + MobX (I hope in future Angular/Vue), which does not use the virtual DOM comparison, but the re-render of only the changed parts. Abandon the HTML template in favor of their interpretation in JS, give to us tree-shaking is components/templates and the speed of work increases since the time to parse the template is zero.

DEMO LINK
DEMO at StackBlitz

Features

  1. Size - 4.1 kB or 1.38 kB gzipped.
  2. The library rewrites only changes and only when it is necessary.
  3. Performance - guarantee 60 fps.
  4. Names of imported functions and classes are not finally and can be discussed.
  5. There is a tree-shaking for components and templates !!!.

Top comments (0)