Frontend First
Why the browser is the most complex runtime environment

Episode 100 · Season 1

Why the browser is the most complex runtime environment

Frontend First

1:02:39

About this episode

Sam and Ryan talk about the unique aspects of ES modules that have driven the recent explosion of innovation in the frontend build tooling space, giving rise to tools like Snowpack and Vite. They also chat about their desire for a more integrated frontend ecosystem that would make adding things like auth to frontend apps easier, as well the impressive web-based drawing tool Excalidraw.

 

Topics include:

- 1:16 – ES modules

- 14:09 – Why do we bundle?

- 20:47 – Modules are stateful singletons, and the benefits of dependency injection

- 35:12 – Desire for an integrated JS environment

- 50:41 – Excalidraw

 

Links:

- [Sam's video on ES modules](https://youtu.be/5F_k9q9HbAc)

- [Guillermo Rauch on Static First using Serverless Frontends](https://www.serverlesschats.com/50)

- [Excalidraw](https://excalidraw.com)

More from Frontend First

Ryan talks to Sam about reproducing iOS's new image background treatment for his Open Graph Preview tool, opengraph.ing. They talk about different approaches for generating gradients from images, incl…

48m

Sam and Ryan talk about React 19's useActionState hook. They discuss how adding async functions to a plain React app introduces lots of in-between states that developers must grapple with, and how use…

59m

Sam and Ryan talk about building a useAnimatedText hook that can animate streaming text. They also discuss how React code that uses state changes to approximate events can be simplified, and the benef…

1h 8m

Sam and Ryan talk about how frameworks and infrastructure evolve with each other, using Next.js as a representative example. They discuss how hosting providers like Heroku have always imposed certain…

58m