Y
Hacker News
new
|
ask
|
show
|
jobs
by
ironmagma
276 days ago
isLoading should be a boolean; it will maintain referential equality across renders and not cause a re-render unless it is an actual edge from false to true or vice versa.