Number one this week, Vidact is a lightweight alternative to React that compiles JSX code into vanilla JS code that manipulates the DOM.
Like Svelte, it’s not a framework, it’s a compiler that runs at build time.
But it takes a very different approach. Instead of introducing a new syntax, it offers an API as close as possible as React:
- Functional components written in JSX
- Side effects handled by hooks:
useState
,useEffect
,useRef
…
Be aware that it’s not production-ready, as the author says:
The goal is to have an alternative library for those who love React, but are looking for a more lightweight and high-performance implementation for smaller projects.
Growing Fast This Week
By % of GitHub stars added (relative growth) this week
1 | Vidact A compiler that converts React-compatible codes to VanillaJS | Homepage | +52.7% | |
2 | uPlot A small, fast chart for time series, lines, areas, ohlc & bars | GitHub | +51.0% | |
3 | web-worker Consistent Web Workers in browser and Node. | GitHub | +26.8% | |
4 | Phelia A reactive Slack application framework. | GitHub | +23.2% | |
5 | Vime All your media player needs in one place - a modern alternative to Videojs | Homepage | +20.3% | |
6 | Crank.js Write JSX-driven components with functions, promises and generators. | Homepage | +19.9% | |
7 | Rosetta A general purpose internationalization library in 292 bytes | GitHub | +19.0% | |
8 | Middy The stylish Node.js middleware engine for AWS Lambda | Homepage | +12.0% | |
9 | Alpine.js A rugged, minimal framework for composing JavaScript behavior | GitHub | +9.7% | |
10 | css.gg 700+ Pure CSS, SVG & Figma UI Icons | Homepage | +8.8% |
Trending This Week
By number of GitHub stars added this week
1 | uPlot A small, fast chart for time series, lines, areas, ohlc & bars | GitHub | +1.1 k★ | |
2 | LearnGitBranching An interactive git visualization to challenge and educate! | Homepage | +823 ★ | |
3 | Alpine.js A rugged, minimal framework for composing JavaScript behavior | GitHub | +626 ★ | |
4 | Vue.js A progressive, incrementally-adoptable framework for building UI on the web | Homepage | +522 ★ | |
5 | Strapi Open source Node.js Headless CMS to easily build customisable APIs | Homepage | +462 ★ | |
6 | JS Algorithms & Data Structures Algorithms and data structures implemented in JavaScript with explanations | GitHub | +457 ★ | |
7 | React A declarative, efficient, and flexible JavaScript library for building UI | Homepage | +395 ★ | |
8 | Eruda Console for mobile browsers | Homepage | +393 ★ | |
9 | Tailwind CSS A utility-first CSS framework for rapid UI development. | Homepage | +380 ★ | |
10 | Vue Element Admin A magical vue admin | GitHub | +379 ★ |
Any question or feedback? Reach us on GitHub.
Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.