Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ferrriii/woodoo

A simple and lightweight library for creating reactive, state-based UI
https://github.com/ferrriii/woodoo

Last synced: 3 days ago
JSON representation

A simple and lightweight library for creating reactive, state-based UI

Awesome Lists containing this project

README

        

# WooDoo
downloads version issues package size forks stars license programming language

A ~1.2kb (package size) alternative to React and Vue.

WooDoo is a simple and lightweight library for creating reactive, state-based UI.
Features:

- Template literals (Template strings) support
- Event bindings
- Efficient and fast
- IE 11 and major browsers support (> 0.25%)

## Getting Started
Use below template to get started.

```html



WooDoo Hello World!


App Placeholder




let app = new WooDoo({
element: '#app',
data: {
text: 'Hello !',
},
template() {
return `
<span>${this.text}</span>
`
}
}
)
app.render()

```

If you would like to use ES modules, include below script in your app.

```html

```

## Demo
- [Mirror Typing](https://codepen.io/ferrriii/pen/gOxNLOv)
- [Counter](https://codepen.io/ferrriii/pen/ExvBNyK)
- [Stopwatch](https://codepen.io/ferrriii/pen/MWvMbXK)
- [ToDo list](https://codepen.io/ferrriii/pen/eYEwBqv)