2min chapter

Frontend First cover image

Server-side rendering vs. Server Components

Frontend First

CHAPTER

How to Write a React App in SPA

In the SPA world before server components, you needed to get data from a privileged environment like Stripe or your database. Now we kind of we kind of flip that story and we let the first pass be Pull data from those servers and then insert it into a client react app And then when the client react and then give the client react app to the browser It doesn't need to request that data from Stripe because it that data was inserted exactly By the server component. So it's a nice little like story of like it just makes like what everyone's responsibility like I do this and then I hand it off to you instead of just Handing everything off to the browsers.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode