kivi
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc2 • Public • Published

Build status Npm version Npm downloads License

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.

Kivi JSFiddle

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

Examples

Performance

Kivi has one of the fastest Virtual DOM implementations, it was designed from the ground up with high performance in mind.

Benchmarks:

Package Sidebar

Install

npm i kivi

Weekly Downloads

0

Version

1.0.0-rc2

License

MIT

Last publish

Collaborators

  • localvoid