3 ms·
React Server Components are async/await. Suspense works with async/await to show loading indicators (it is not a replacement as you are implying). They said the
by terandle 2y ago
React Server Components are async/await. Suspense works with async/await to show loading indicators (it is not a replacement as you are implying). They said they have plans to bring async await to Client Components but they need the AsyncContext tc39 proposal to come to JS first.
The worst part of react is all the FUD hacker news creates about it every time they try to innovate to make the web's defacto framework better.