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.)
TypeScriptNOASSERTION
Issues
- 1
- 0
Drop `prop-types` use
#94 opened by birdofpreyru - 0
- 1
- 1
`useAsyncData()`'s `reload` better be a stable function, to facilitate its use inside effect hooks
#91 opened by birdofpreyru - 2
Double check why variable types not resolved on composed paths with number pieces
#79 opened by birdofpreyru - 1
- 0
Updating the global state inside a `useAsyncData()` hook's loader is dangerous if that hook depends in turn on the updated state
#92 opened by birdofpreyru - 0
Can we improve `useGlobalState()` typing, to exclude value `undefined` possibility for when `initialValue` is provided?
#88 opened by birdofpreyru - 1
`useAsyncData()`: Calling a global state setter from a loader seems to cancel the state update for the loader returned value
#76 opened by birdofpreyru - 0
- 0
- 0
Subscribe function should be stable
#86 opened by birdofpreyru - 0
`newAsyncDataEnvelope()` should take options for initial ref count and timestamp
#80 opened by birdofpreyru - 0
Fix broken links in the documentation
#81 opened by birdofpreyru - 1
- 1
Debug global state interaction with inputs
#22 opened by birdofpreyru - 0
[Docs] Upgrade to Docusaurus v3
#74 opened by birdofpreyru - 0
An issue with `deps` option of `useAsyncData()` and `useAsyncCollection()` hooks
#75 opened by birdofpreyru - 0
- 0
Update ts overloads locking
#72 opened by birdofpreyru - 0
Update build setup to match that of react-themes lib (build with babel, typecheck with tsc; instead of both building & typechecking with tsc)
#71 opened by birdofpreyru - 1
Double-check ESLint setup for airbnb-typescript config - I guess, it is not really uses it
#70 opened by birdofpreyru - 0
v0.10.0-alpha.1 is BROKEN
#67 opened by birdofpreyru - 0
- 0
- 0
- 0
- 0
Mistake in docs
#49 opened by birdofpreyru - 0
- 18
- 0
README.md published to NPM has outdated SSR setup instructions (the up-to-date one are published to the reference docs).
#38 opened by birdofpreyru - 0
Sort out react-native support
#39 opened by birdofpreyru - 0
Support SSR time outs
#37 opened by birdofpreyru - 3
useAsyncCollection(..) seems to fail trigger component re-render when ID changes and data reload for new ID
#36 opened by birdofpreyru - 0
- 2
GlobalState notifications may cause attempts to update states of unmounted components
#33 opened by birdofpreyru - 0
Useasyncdata
#32 opened by birdofpreyru - 2
[Pending to add tests] Add "hardDeps" option to useAsyncData and useAsyncCollection
#29 opened by birdofpreyru - 1
- 1
Add tests verifying that 0 maxage, refreshAge, garbageCollectionAge are properly set by useAsyncData() params
#31 opened by birdofpreyru - 0
- 0
Severe error in README
#25 opened by birdofpreyru - 0
Add "lazy" state watcher
#24 opened by birdofpreyru - 0
Add `useGlobalRef`, and other global counterparts for remaining ReactJS hooks?
#23 opened by birdofpreyru - 1
Check if corejs dependency from babel transform is installed into host packages by default?
#20 opened by birdofpreyru - 0
Promise is not polyfilled for IE
#19 opened by birdofpreyru - 0
Better to move transform-runtime to be last
#17 opened by birdofpreyru - 0
Debug logging in dev mode
#18 opened by birdofpreyru - 2