File manager - Edit - /home/boiitech111/autorollingright.com/wp-content/plugins/extendify/src/Launch/hooks/useIsMounted.js
Back
import { useRef, useEffect, useLayoutEffect } from '@wordpress/element'; export const useIsMounted = () => { const isMounted = useRef(false); useEffect(() => { isMounted.current = true; return () => (isMounted.current = false); }); return isMounted; }; export const useIsMountedLayout = () => { const isMounted = useRef(false); useLayoutEffect(() => { isMounted.current = true; return () => (isMounted.current = false); }); return isMounted; };
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings