โ๏ธ I updated my reproduction from you-know-when to react 19.0.0-rc.1 and it works great ๐ stackblitz.com/edit/tanstac... Itโs not quite the same as in v18, but definitely the perfect tradeoff:
12 reposts69 likes
โ๏ธ I updated my reproduction from you-know-when to react 19.0.0-rc.1 and it works great ๐ stackblitz.com/edit/tanstac... Itโs not quite the same as in v18, but definitely the perfect tradeoff:
12 reposts69 likes
FYI @t3.gg you can uses these repos if your doing a video, since I know last time you had some struggles writing it yourself
In 19-rc.1, we get: - ๐ start fetch 1 - ๐ render fallback - ๐ start fetch 2 This combines the best of both worlds thanks to the new pre-warming feature: - โกthe fallback renders faster - ๐ we donโt have to wait for fetch 1 to finish before fetch 2 starts.
You can read more about it here: react.dev/blog/2024/04... In my simple example, fetch 2 starts a bit later than in v18 (10-12ms usually), but thatโs totally okay and largely irrelevant when async tasks are involved.