A library is essentially a set of functions that you can call, these days usually organized into classes. Each call does some work and returns control to the client.
so, let’s get started with our list:
Svelte is an entirely new approach to building user interfaces.[gitrepo author=”sveltejs” repo=”svelte”]
- No virtual DOM, Svelte compiles your code to tiny, framework-less vanilla JS — your app starts fast and stays fast.
Inferno is an insanely fast, React-like library for building high-performance user interfaces on both the client and server.
[gitrepo author=”infernojs” repo=”inferno”]
Inferno is one of the fastest front-end frameworks for rendering UI in the DOM, making 60 FPS on mobile possible.
- Isomorphic rendering is on both client and server, along with fast-booting from server-side renders.
- React-like API, concepts and component lifecycle events. Switch over easily with inferno-compat
- Inferno was only designed for the browser/server with the DOM in mind.
[gitrepo author=”preactjs” repo=”preact”]
Preact provides the thinnest possible Virtual DOM abstraction on top of the DOM. It builds on stable platform features, registers real event handlers and plays nicely with other libraries.
- Preact is fast, and not just because of its size. It’s one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.
- Portable, Preact’s tiny footprint means you can take the powerful Virtual DOM Component paradigm to new places it couldn’t otherwise go.
- Virtual DOM Components make it easy to share reusable things – everything from buttons to data providers.
[gitrepo author=”Riot” repo=”Riot”]
- Server-side rendering of custom tags for universal isomorphic applications
- Expressions are pre-compiled and cached for high performance
- No extra HTML root elements, data- attributes or fancy custom attributes.
[gitrepo author=”mithriljs” repo=”mithril.js”]
It’s small (< 10kb gzip), fast and provides routing and XHR utilities out of the box.
- Mithril only touches the parts of the DOM it absolutely needs to.
- Already used by companies like Vimeo and Nike, and open-source platforms like Lichess.
- Mithril automatically figures out the most efficient way of updating the text, rather than blindly recreating it from scratch.