Search results: sample-use-new.gif

@sjblurton/use-storage

useStorage hook stores the data in local, or session storage. It takes a key as a string argument, and a default value as a string. The hook will search the storage the key in storage for a value and return if it there is one, otherwise it will use the de

0.1.3 • Published 3 years ago

@sjblurton/use-timeout

useTime takes 2 arguments, the first is the function you would like to run after the the delay, the second is the delay in milliseconds. It returns a object with clear, and rest functions to clear, or reset the timeout.

0.1.3 • Published 3 years ago

@sjblurton/use-toggle

useToggle will default to false on initialization, unless provided a initial boolean value. It will return an tuple array `[value, toggleValue]` of the value, and a callback function. The value will be true or false, and the function can set the value to

0.1.4 • Published 3 years ago

@sn0wbit/use-sound

Simple useSound hook that allow you to play audio file by just 1 hook.

1.0.5 • Published 3 years ago

@snov/use-core

Use of other inner package example

0.1.1 • Published 6 years ago

@snows1000/use-it

You can use this package for easily transform or handle things.

1.0.0-b02 • Published 5 years ago