React ถ้าใช้ useEffect ควรเขียน Cleanup functions วิธีใช้ง านแบบผิด ๆ ที่มือใหม่อาจจะพลาดKongvut Sangkla (Author)February 19, 2023 · 7 min readTags:reactuseMemouseEffectbest practicesIntro StrictMode problems useEffect and deps problems Primitive and Non-Primitive Cleanup function