News for hackers. Stuff that matters.
Re:React 19 Beta by ericlewis on Friday April 26, 2024 @10:34PM (#40176641)
useEffect is best thought of as a synchronization mechanism between external state and react state and the function it returns may actually be better thought of as a side effect. UseEffect makes sense in this case because you aren’t on the side!

There are no comments on this comment yet.