jart

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i jart

Weekly Downloads

35

Version

1.0.0

License

ISC

Unpacked Size

2.09 kB

Total Files

4

Last publish

Collaborators

  • kaicurry