Hacker News new | ask | show | jobs
React Hook for Avoiding Flash of Empty UI While Data Transitions (jameskerr.blog)
1 points by jameskerr 1093 days ago
1 comments

To my knowledge, your useEffect that reads the timeout should be using timeout as a dependency.
Yes, you're right. I will update.