spair is a small and fast frontend framework for Single Page Application.
This framework is in an early stage of development.
Spair works by iterating through every elements and attributes/properties in the current DOM, which is empty before the first render, creating new items or modifying existing items, it’s the update-mode. But there are elements or attributes that will never change. You can tell Spair to just create them but ignore them when iterating over them later by turn on the static-mode.
spair is free and open source software.
Key Features
- Small and fast.
- Both vDOM-like and reactive-like, in the same framework.
- Incremental render (vDOM-like, but Spair doesn’t re-create a new vDOM in every run).
- Queue render (reactive-like, but not using any kind of signals), just queue relevant pieces of code to render change on data change. (The current version of queue render may not very efficient because each fine-grained-render need to borrow the component state separately by it own.)
- Component state is automatically available in every piece of the render code.
- (Almost) no macro is required for constructing DOM.
- Routing (but just basic support).
- SVG.
Website: github.com/aclueless/spair
Support:
Developer: aclueless
License: Mozilla Public License 2.0
spair is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Rust Web Micro-Frameworks | |
|---|---|
| Actix Web | Powerful, pragmatic, and extremely fast web framework with a few twists |
| Salvo | Powerful and simplest web server framework |
| Abscissa | Many features with minimal dependencies and security conscious |
| Rouille | Designed to be intuitive and doesn't employ middlewares |
| Tide | Mnimal and pragmatic Rust web application framework |
| vial | Small web "framework" for making small web sites |
| Spair | Small and fast frontend framework |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

