Showing 1-20 of 406 packages
A React hook for componentWillUnmount lifecycle method
`useEffectOnce` is a custom hook in React designed to mimic the behavior of `componentDidMount` and `componentWillUnmount` lifecycle methods in class components. It's a modified version of `useEffect` that runs only once when the component mounts.
HOC for set a flag when componentWillUnmount, bypass `Can't perform a React state update on an unmounted component` warning
React hook to handle componentDidMount, and componentWillUnmount lifecycle events.
A higher order component to make sure the react component passed as argument always unmounts properly, even if React does not have the time to call componentWillUnmount function.
A higher order component to clean your app state on componentWillUnmount
React mixin for listenable componentWillUnmount
对组件使用装饰器,改装componentWillUnmount,销毁的时候记录一下,对setState的改装,setState查看目前是否已经销毁
A React Native module that allows to perform the Spotlight integration on iOS
react-native-eventemitter Demo
Small re-usable utils/decorators/helpers for meniga projects
Utilise state and other data on component unmount with minimal code. Often used as the hooks alternative to componentWillUnmount.
console.time, console.timeLog and console.timeEnd polyfill for react-native
Vanilla helpers for tracking viewport changes.
Easiest way to subscribe and unsubscribe browser / node events
React component to put a CrowdRiff embed code in a React app
React component for place dropdowns outside overflow: hidden; elements
Material Components React Menu
Provides a connector to OneSignal for updating user data in OneSignal. This package (at this time) does not send push notifications, but rather sets up users in OneSignal so push notifications can be sent to them via the Rest API or OneSignal dashboard.
A collection of useful React hooks