#useeffect

[ follow ]
#react-hooks
fromAllthingssmitty
1 week ago
React

React has changed, your Hooks should too - Matt Smith

Use Hooks as a modular design system: reserve effects for external side effects and derive all other state during render, leveraging new Concurrent React features.
fromLogRocket Blog
1 month ago
React

15 common useEffect mistakes to avoid in your React apps - LogRocket Blog

useEffect should be used sparingly because it runs after paint and, when misused, causes late effects, extra re-renders, wasted work, and performance problems.
React
fromTheregister
2 months ago

Cloudflare DDoSed itself with React useEffect hook blunder

A React useEffect hook with a recreated dependency object caused repeated Tenant Service API calls, overloading APIs and causing a more-than-hour outage.
[ Load more ]