Awesome React
Browse videos
Playlists
Conferences
Speakers
About
Use Promise.race to avoid the "flash of loading state"
Playlist
Details
With React Suspense we can probably use Placeholders and the delayMs prop, but here's a useful trick I came up with to avoid the flash of loading state with Promise.race