good first issuehelp wanted
Repository metrics
- Stars
- (21 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Create React hook which returns and indicator observable which signals when component was unmounted.
const MyComponent = () => {
const unmounted$ = useUnmounted();
useEffect(() => {
something$.pipe(
takeUntil(unmounted$)
);
}, []);
};