Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ericlewis
· 2y ago · 0 comments
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!
Comments
No comments yet.
Better HN