2min chapter

Changelog Master Feed cover image

A new batch of web frameworks emerge! (Changelog Interviews #509)

Changelog Master Feed

CHAPTER

How to Serialize Closures in JavaScript?

Quick can serialize closures. Closure is function plus data. So it can take the closure that represents your button that's, you know, add one to the count. And we know how to extract it at the top level and serialize the associated data with it then make that whole thing lazy loadable. But the only way to do that is if the bundler and the runtime cooperate; existing frameworks are very limited in what they can do.

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