• Stars
    star
    416
  • Rank 100,639 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Library to build UI based on virtual DOM

vidom

Build Status NPM Version Dependencies NPM Downloads

Vidom is just a library to build UI. It's highly inspired from React and based on the same ideas. Its main goal is to provide as fast as possible lightweight implementation with API similar to React.

Main features

  • Fast virtual DOM builder and patcher under the hood
  • Update batching and synchronization with browsers rendering lifecycle by default
  • Fast server-side rendering with ability to reuse existing DOM in the browsers also known as isomorphism
  • Easy and clear way to subscribe to DOM Events
  • API to build your own high-level components
  • Namespaces support (e.g., SVG, MathML)
  • Ability to render multiple components without unwanted DOM wrappers
  • No extra markup in the result HTML
  • JSX support via babel plugin
  • TypeScript support
  • Small footprint, 9KB after gzip
  • Zero dependencies

Benchmarks

                   mean time ops/sec
  vidom v0.9.23    0.505ms   1981
  inferno v3.10.1  0.511ms   1958
  preact v8.2.6    1.414ms   707
  react v16.0.0    1.479ms   676
  vue v2.5.2       8.883ms   113

Playground

Try live playground to play with Vidom in your browser.

Documentation

Tools

  • Vidom inspector developer tool which helps debug vidom-based applications

Addons

Examples

Thanks

  • cdnjs for library is avalaible on CDN.

More Repositories

1

jspath

DSL that enables you to navigate and find data within your JSON documents
JavaScript
547
star
2

vow

ES6-compatible and Promises/A+ implementation for Node.js and browsers
JavaScript
344
star
3

bem-react

BEM-flavoured React
JavaScript
132
star
4

inherit

Inheritance module for Node.js and browsers
JavaScript
71
star
5

lrt

Scheduler for long-running tasks inside browsers and Node.JS
TypeScript
64
star
6

vow-fs

Vow-based file I/O for Node.js
JavaScript
28
star
7

jquery-plugins

collection of jQuery plugins
JavaScript
27
star
8

vow-queue

Vow-based task queue
JavaScript
10
star
9

twitter-trends

Example of bem app
JavaScript
9
star
10

vow-node

Extension for Vow to work with nodejs-style callbacks
JavaScript
9
star
11

jaggi

JavaScript
9
star
12

jz

JavaScript
8
star
13

vidom-redux

Redux bindings for Vidom
JavaScript
7
star
14

BEM-inspector

Chrome extension for browsing BEM
JavaScript
6
star
15

bem-components-react

CSS
6
star
16

vidom-ui

A set of basic visual components are built with Vidom
JavaScript
6
star
17

babel-plugin-vidom-jsx

Plugin for babel to enable JSX for Vidom
JavaScript
6
star
18

rou

Url-based router for Node.js and browsers.
JavaScript
4
star
19

flex-layout

BEM-block for custom layout
JavaScript
3
star
20

vidom-inspector

Inspector for vidom
JavaScript
3
star
21

touch-mapper

Touch mapper plugin for jQuery
JavaScript
2
star
22

redut

Redut is a minimal library to build type-safe redux applications with TypeScript and without a lot of boilerplate code.
TypeScript
2
star
23

jquery-wname

Window.name-based transport for jQuery.Ajax with crossdomain file's uploading support
2
star
24

dotfiles

my dotfiles
1
star
25

vidom-todomvc

TodoMVC via Vidom
JavaScript
1
star
26

jemplate

simple template plugin for jquery
JavaScript
1
star
27

vidom-animation-group

Low-level API for "appearance", "entering" and "leaving" animation inside Vidom.
JavaScript
1
star
28

vidom-css-animation-group

API for "appearance", "entering" and "leaving" animation via CSS transitions and animations inside Vidom
JavaScript
1
star