Search results
7 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
A React hook for componentWillUnmount lifecycle method
published version 4.11.2, 4 years ago2 dependents licensed under $MIT
1,840
Use a class-based lifecycle ⚡ under the React Hooks ⚛️🚀 ..
- react
- reactjs
- react native
- react hooks
- lifecycle hooks
- newcomers
- useEffect
- componentDidMount
- useComponentDidMount
- componentDidUpdate
- useComponentDidUpdate
- componentWillMount
- useComponentWillMount
- componentWillUnmount
- View more
published version 1.1.0, 3 years ago0 dependents licensed under $MIT
24
A collection of hooks that helps you to track the lifecycle of your components in a similar way to class components.
- hook
- react
- custom
- lifecycle
- component
- class
- methods
- componentDidUpdate
- componentDidMount
- componentWillUnmount
- useDidUpdate
- useDidMount
- useWillUnmount
published version 1.0.0, 6 years ago0 dependents licensed under $ISC
20
Utilise state and other data on component unmount with minimal code. Often used as the hooks alternative to componentWillUnmount.
published version 1.0.2, 5 years ago0 dependents licensed under $MIT
17
Helpers functions arround useEffect hook to make your life easier, providing the most use cases of useEffect hook, among them the lifecycle of class component.
- hook
- react
- custom
- lifecycle
- component
- class
- methods
- componentDidUpdate
- componentDidMount
- componentWillUnmount
- useDidUpdate
- useDidMount
- useWillUnmount
published version 1.0.1, 5 years ago0 dependents licensed under $MIT
16
'解决异步请求时,出现不能在已经被销毁的组件中调用setState()方案。Can’t call setState (or forceUpdate) on an unmounted component '
published version 1.0.0, 6 years ago0 dependents licensed under $ISC
9
React mixin for listenable componentWillUnmount
published version 1.0.2, 10 years ago0 dependents licensed under $MIT
9