Glad to know that you are using state-pool in production. The change was made in v0.4.0, I think [state, setState, updateState] makes more sense than [state, updateState, setState], it was also influenced by [state, setState] from useState since we don't want state-pool's API to be very different from react state hook's API.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Glad to know that you are using
state-pool
in production. The change was made inv0.4.0
, I think[state, setState, updateState]
makes more sense than[state, updateState, setState]
, it was also influenced by[state, setState]
fromuseState
since we don't wantstate-pool
's API to be very different from react state hook's API.