A React hook used for managing state and cookies simultaneously. A statefull wrapper around cookie-helper.
Use npm to install bjork_useCookie or copy the code manually form github.
> npm i bjork_useCookie
import useCookie from 'bjork_usecookie'
const [ state, setState ] = useCookie(_defaultValue_)
setState(value, _options_)
Pull requests are welcome. For any considerable changes, please open an issue first to discuss what you would like to change.