Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
React Hook for Avoiding Flash of Empty UI While Data Transitions
(opens in new tab)
(jameskerr.blog)
1 points
jameskerr
3y ago
2 comments
Save
Share
2 comments
2 comments · 1 top-level
top
newest
oldest
jzombie
3y ago
· 1 in thread
To my knowledge, your useEffect that reads the timeout should be using timeout as a dependency.
jameskerr
OP
2y ago
Yes, you're right. I will update.
j
/
k
navigate · click thread line to collapse