

724: Potluck: Is Virtual DOM Bad?
10 snips Jan 31, 2024
Is the Virtual DOM becoming obsolete? Dive into discussions on JavaScript frameworks, comparing Alpine.js and HTMX with traditional templating libraries. Explore in-app browsers and their quirks, plus the nuances of managing web application state. Discover the benefits of using tools like Svelte and X State for authentication flows. Don't overlook the significance of mastering keyboard shortcuts to boost development efficiency. Finish off with intriguing tech finds, including a must-have rice cooker and a novel AI search tool!
AI Snips
Chapters
Transcript
Episode notes
Templating Libraries, HTMX, and Alpine.js
- Choose Alpine.js for client-side interactivity and HTMX for server-side fetching.
- You still need a templating engine like Pug, Handlebars, or JSX.
In-App Browsers
- In-app browsers use the OS's default browser engine (Safari on iOS, Chrome on Android).
- Test sites in regular browsers unless using very specific APIs.
Generators and Iterators
- Danny Jimenez, inspired by episode 709, deep-dived into generators and iterators.
- He wrote a blog post explaining how to make non-iterable objects iterable using generator functions.