0.0.1 • Published 8 months ago

laite v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Laite

Sometimes we want to be able to watch for changes and add reactivity in a very simple javascript app. This library aims to bring in this reactivity in a very simple API. This is a lightweight mini library bringing reactivity to any website.

Usage

const objToWatch = { obj: { arr: [] } }
const lt = new Laite(tVisualizer)

lt.$watch('obj', (val) => console.log(val))

Deep watch is also available via $deepWatch

const objToWatch = { obj: { arr: [] } }
const lt = new Laite(tVisualizer)

lt.$deepWatch('obj.arr', (val) => console.log(val))
0.0.1

8 months ago

0.1.2

8 months ago

0.0.2

8 months ago