hookstate icon indicating copy to clipboard operation
hookstate copied to clipboard

The simple but very powerful and incredibly fast state management for React that is based on hooks

Results 62 hookstate issues
Sort by recently updated
recently updated
newest added

``` let a: State & { downcast(): State; }; let b: State = a!.downcast(); let c: State = (a!); function downcast(a: State): State { return {} as State } ```

i want to create global state with persist (@hookstate/localstored) in React Native could someone give me reference?? i just create global state for authentication flow, but everytime I close and...

enhancement
plugin

// TODO document this sample // // creating reusable combo // let e = () => extend( // clonable(v => v), // clonable(v => v), // // clonable(v => v),...

documentation

Broadcasted/Devtools can broadcast only certain types. If serializable extension is added to a state, the broadcased/devtools extension could use this (like localstored extension) to pack/unpack broadcasted data. This would allow...

enhancement
plugin
hookstate-5

Hi @avkonst and contributors, Really hate when people start their silly questions with "first of all thank you for the great lib", but... it's true, so First of all thank...

enhancement
documentation
hookstate-4

Add ability to attach a logger to dump to the console (or else where configured) state updates.

I want to perform some business logic (nothing ui related) when a state changes. Right now only way to subscribe is to do it inside a component using the useHookstate...

enhancement
plugin

Hi, have been using hookstate for a while now and it seems pretty cool. We are running into a problem which I think could most easily be solved by allowing...

duplicate
enhancement
documentation
hookstate-4

I'm basically initializing the devtools in index.tsx and afterwards create a hook with global state. This is working perfectly, however it's not showing up in the [Redux DevTools extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd) for...

bug
plugin
hookstate-4