1.0.0 • Published 5 years ago

jart v1.0.0

Weekly downloads
191
License
ISC
Repository
github
Last release
5 years ago

Jart

changeChecker(initValue)(nextValue)

Give it an initial value. Returns function that will be true when value changed.

handleChanges(getValue, onChange)()

Useful for redux style environments. Give it a getter func and an onChange callback. It will return a function. Call returned func on every change and it will conditionally calling onChange.