717: Better DX for Web Components, What Was Popular That Now We’re Used To?
· Summarized
Key takeaways
- Modern web APIs continue to grow, introducing features like container queries, subgrid, and new animation APIs that significantly expand what can be achieved in browsers.
- Web components are increasingly important for building encapsulated, reusable UI elements, and tools like custom-element-manifest improve the developer experience.
- Many older technologies—like jQuery or Adobe Flex—have faded, but their influence guides current development choices, emphasizing the importance of adaptability.
- The hosts advocate for simplifying web architectures by relying less on heavy frameworks like React for 'leaf' components, and more on native standards and minimal JavaScript.
- There are still features missing on the web, such as flowing content between grid cells and advanced text rendering controls, which remain hurdles for future development.
Summary
Camera and Setup Tricks and Hobby Tech
The hosts discuss their personal efforts to improve their video quality for streaming or recording. Dave experimented with camera angles, background setup, and lighting accessories like Elgato light strips and Apple post-processing effects, often on a budget. They also indulge in hobby projects—Dave built a custom mount for his van and upgraded his Starlink installation, blending tech tinkering with hobby interests. The conversation touches on the joy and pitfalls of hobbies, from hardware store trips to guitar repair challenges, highlighting how hobbies can be both rewarding and time-consuming.
Web Development Tools and Technologies—Past and Present
A significant portion of the episode focuses on older and current web development technologies: the evolution of CSS preprocessors like Sass, the decline of jQuery, and the persistence of tools like static site generators. They reflect on technologies once hyped—such as Adobe Flex or PhoneGap—that faded or transformed over time. Discussions also explore modern frameworks and how they could be simplified or replaced, emphasizing that many complex tools are often used for internal or historical reasons rather than necessity. The hosts advocate for more lightweight, effective solutions like web components and native technologies, including discussions on reactivity, component composition, and the ongoing evolution of web APIs.
The Future and Limitations of Web Capabilities
The hosts speculate on what the web still can't do—such as holograms or perfect flow content—and what improvements are on the horizon. They highlight missing or underdeveloped features like styling grid cell borders directly, flowing content between grid cells, and more advanced text rendering behaviors. They discuss recent API advancements—CSS subgrid, container queries, new animation APIs—and how these are expanding the web's capabilities. The conversation emphasizes the importance of ongoing innovation and surprising improvements that push the limits of web technology.
Web Components, Developer Experience, and Code Structuring
Another major topic is the growth of web components and how to better structure and compose custom elements, especially for developers coming from frameworks like React. They discuss the concept of 'leaf' components—self-contained, isolated widgets that don't need complex hierarchy—and how web components can fit into various architectures with Shadow DOM and slots. The hosts recommend separating component rendering from UI orchestration and considering tools like custom element manifests for better developer experience. They also reflect on the importance of reducing complexity in JavaScript frameworks by embracing native web standards.
Sponsors
- Macro · Macro is a tool to cut through the noise - It's a workspace built for engineers; One place for all your emails, tasks, team chat, and documents. Sign up at Macro.com and get $100 of your subscriptions using code SHOPTALK100.
Show notes
Show Description
Dave's changing up his camera angles, Chris has been upgrading his Sprinter van, how many hobbies is too many, what kinds of web tech was popular years ago that now seems normal, why isn't the DX around web components better, how can I structure my code to compose other custom elements, and what still can't be done on the web these days?
Links
Sponsors
Macro
Macro is a tool to cut through the noise - It's a workspace built for engineers; One place for all your emails, tasks, team chat, and documents. Sign up at Macro.com and get $100 of your subscriptions using code SHOPTALK100Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account