6 packages found
📦 useIsMountedRef is a React Hook to check when the component is mounted.
published 1.5.0 a year ago
M
Q
P
React hook for mounted and unmount, return an object: MutableRefObject<{ mounted: boolean, unmounted: boolean }>
published 1.0.5 3 years ago
M
Q
P
safely manage functional components state
published 1.0.1 2 years ago
M
Q
P
safely manage functional components state
published 1.0.0 2 years ago
M
Q
P
React Native wrapper for setState to prevent state manipulation on unmounted components.
published 1.0.4 4 years ago
M
Q
P
'解决异步请求时,出现不能在已经被销毁的组件中调用setState()方案。Can’t call setState (or forceUpdate) on an unmounted component '
published 1.0.0 4 years ago
M
Q
P