StoryNote logo

Why does this useEffect have the newest value of a prop that isn't in its dependencies?

by /u/Zestyclose_Seat_5792 in /r/reactjs

Upvotes: 16

Favorite this post:
Mark as read:
Your rating:
Add this post to a custom list

StoryNote©

Reddit is a registered trademark of Reddit, Inc. Use of this trademark on our website does not imply any affiliation with or endorsement by Reddit, Inc.