Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Getting error after I put Async function in useEffect

useEffect(() => {
      // add async function here
      return () => {
        console.log("This will be logged on unmount");
      }
    })
 
PREVIOUS NEXT
Tagged: #Getting #error #I #put #Async #function #useEffect
ADD COMMENT
Topic
Name
7+6 =