Search results

7 packages found

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 ⚛️🚀 ..

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.

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.

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