kivi
v1.0.0-rc2
Published
Javascript (TypeScript) library for building web user interfaces.
Downloads
41
Maintainers
Readme
Kivi is a javascript (TypeScript) library for building web user interfaces.
It provides Virtual DOM API for DOM manipulations, UI Components and Scheduler tightly integrated with UI Components.
Kivi API is designed specifically to provide fast bootstrap time (cold start) and fast hot updates, good debugging and profiling experience (preserving stack traces), good minification by advanced javascript optimizing compilers.
Example
import {ComponentDescriptor, injectComponent} from "kivi";
const Main = new ComponentDescriptor()
.update((c, props) => {
c.sync(c.createVRoot().child(`Hello ${props.name}`));
});
injectComponent(Main, document.body, {name: "World"});
Documentation
- Getting Started
- Basics
- Advanced
- Experimental
Examples
Performance
Kivi has one of the fastest Virtual DOM implementations, it was designed from the ground up with high performance in mind.
Benchmarks: