A fast, elegant and unopinionated framework
Vanilla is a framework for building instant web applications. It's fast.
fetch
API, so you don't need axios
or other alternatives.map
, filter
, reduce
, forEach
for FRP, so you won't need bloated RxJS observables and operations.Vanilla was actually built in 1995 and supports event-driven, functional, imperative and even object-oriented programming. That is why it is not opinionated.
Vanilla was so primitive in its early days, that jQuery was created. After some time, frameworks flooded userland.
Vanilla eventually became powerful and started shipping powerful features. No complex tooling. No countless hours of debugging. No loopholes for complex systems.
React is bloated. A typical application ships megabytes of JavaScript to the browser. Asynchronous rendering via prioritization is still a pain (and hazardous).
React is pushing towards functional purity with minimal side effects, a goal they haven't realized till today.
React developers, meanwhile, are more interested in Algebraic Effects and making setInterval
declarative.
Vue is a popular and overrated rip-off of React. Not much of a difference.
Angular?
Rich said Svelte is a programming language. Did I mention we were making JavaScript framework comparisons?
If the future of bundlers is no bundlers, I'm sure we can agree that the future of frameworks is no frameworks.
Vanilla has what they call a zero-cost abstraction system. That means no runtime (0kb). In large applications, even those few extra bytes count. With slower network, it just gets worse.
This is the best part. You don't install it, you just start writing!
You don't contribute. Vanilla is stable.
Brendan Eich (for designing the first draft).