JavaScript Jabber

Astro with Fred K. Schott - JSJ 561

Dec 13, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Snowpack and ESM

  • Fred K. Schott worked on Snowpack, a tool that aimed to convert NPM packages to ESM.
  • This allowed developers who preferred ESM to use it while others could continue with their existing workflows.
INSIGHT

Websites vs. Applications

  • Modern web development has shifted towards building applications rather than websites, often resulting in large JavaScript bundles.
  • Astro aims to address this by prioritizing HTML and adding JavaScript only when interactivity is necessary.
ADVICE

Prioritize HTML, Hydrate Interactively

  • Astro prioritizes server-rendered HTML and only hydrates interactive components with JavaScript.
  • This approach improves website performance by minimizing initial JavaScript payload.
Get the Snipd Podcast app to discover more snips from this episode
Get the app