birdofpreyru / react-global-state

Efficient and simple to use global state management for React, implemented with hooks, and spiced by useful data management functions (async retreival, caching, etc.)
https://dr.pogodin.studio/docs/react-global-state/index.html
Other
1 stars 0 forks source link

TODO: Bring back `withGlobalStateType()` function #73

Closed birdofpreyru closed 1 year ago

birdofpreyru commented 1 year ago

I guess,

const { ... } = withGlobalState<State>();

was more convenient than

const { ... } = RGS as API<State>;