2022年7月17日星期日

[react] componentwillunmount in functional component

 useEffect(() => {

        return () => {

            // componentwillunmount in functional component.

            // Anything in here is fired on component unmount.

        }

    }, [])

沒有留言:

發佈留言

[Fixed] some windows chrome, scrolling has glitch position not accurate

   [Fixed] some windows chrome, scrolling has glitch position not accurate Smooth Scrolling Flag 📜 Chrome has an experimental "smooth ...