Want to use server-side rendering (SSR) to speed up your Lustre apps? Here's how!
Previous video: • Create Robust Web Apps with Gleam and...
Client-side rendering can be great, but it has some downsides when it comes to load times and SEO.
This video will show you how to use SSR and hydration in Lustre while keeping your code clean.
Check out the code: https://github.com/isaacharrisholt/yo...
Resources:
Lustre: https://lustre.build
Wisp: https://github.com/gleam-wisp/wisp
html_lustre_converter: https://github.com/lpil/html-lustre-c...
__________________________________________
Check out my other socials!
🎮 Discord ▶ https://discordapp.com/invite/bWrctJ7
🐦 Twitter ▶ / isaacharrisholt
🖥️ Portfolio ▶ https://ihh.dev
📝 Blog ▶ https://isaacharrisholt.com
__________________________________________
Timestamps:
00:00 - Introduction and explanation
00:40 - Lustre's SPA model
02:24 - Rendering our page HTML
05:54 - Hydration
07:31 - Shared logic
08:17 - Deployment
#gleam #softwareengineer