Making Sense of React Server Components • Josh W. Comeau
As someone who has been using React for many years, this code looked absolutely wild to me at first. 😅 · “But wait!”, my instincts screamed. “Function components can't be asynchronous! And we're not allowed to have side effects directly in the render like that!” · The key thing to understand is this: Server Components never re-render.