What they mean by this is like if you have your initial state that's generated on the server Instagram does this TikTok does this. You don't need a hydration step to make your application functional JavaScript wise after sending SSR and HTML so this is a kind of a nuanced thing because we talked about this a bit in the quick episode but what you're doing is you're sending HTML with JavaScript that works instantly rather than needing a hydrationstep reconnect everything to the client side framework version of this.
In this Hasty Treat, Scott and Wes talk through the various rendering methods in use today and the pros / cons of each.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Sanity - Sponsor
Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
Show Notes
- 00:26 Welcome
- 01:31 What is rendering?
- 02:41 Sponsor: Sentry
- 03:58 Sponsor: Sanity
- 04:55 Rendering methods
- 05:48 Single page application (SPA)
- 07:36 Multi-page Application
- 09:14 Static Site Generation (SSG)
- 11:10 Service Side Rendered (SSR)
- 13:08 Partial hydration
- 14:03 Progressive hydration
- 15:38 Island architecture
- 16:25 Progressive enhancement
- 18:18 Incremental Static Generation
- 19:12 Streaming SSR
- 19:53 Resumability
- 21:51 Edge rendering
- 23:11 Missing from the list
Tweet us your tasty treats