Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

useeffect will unmount

  useEffect(() => {
    return () => {
      console.log("cleaning up --> unmount ");
    };
  }, []);
 
PREVIOUS NEXT
Tagged: #useeffect #unmount
ADD COMMENT
Topic
Name
5+4 =