Frameworkless: How to use Web-Components in production?
What if you could escape framework migrations forever? Learn how Web Components offer a standards-based solution for long-term stability and speed.
#1about 3 minutes
Why you should consider frameworkless web components
Web components offer a solution to dependency chain risks, performance overhead, and maintainability issues by relying on native browser standards instead of external frameworks.
#2about 5 minutes
Understanding the core standards of web components
The foundation of web components consists of key standards like the Shadow DOM for encapsulation, Custom Elements for defining new HTML tags, and HTML Templates with Slots for reusable markup.
#3about 3 minutes
Managing the web component lifecycle and attributes
Web components follow a defined lifecycle with callbacks like connectedCallback and disconnectedCallback, while attributeChangedCallback responds to changes in observed attributes.
#4about 3 minutes
Choosing rendering strategies and passing data
Components can be rendered by directly manipulating the DOM, re-rendering entirely, or using a virtual DOM approach, and complex data can be passed as object properties.
#5about 4 minutes
Structuring a production project with web components
A production application was structured using a domain-driven design approach, leading to the creation of a custom base component library to improve development pace.
#6about 1 minute
Using web components to migrate legacy applications
Web components can be used to incrementally modernize legacy applications by replacing old components one by one without a full rewrite.
#7about 1 minute
Weighing the advantages and disadvantages of web components
While web components offer high performance and no dependencies, they come with a steeper learning curve, slower initial development pace, and the responsibility of maintaining your own code library.
#8about 17 minutes
Live coding an editable list with web components
A practical demonstration shows how to build an interactive list component from scratch, covering rendering, state management, event handling, and component interaction.
#9about 2 minutes
Conclusion and when to use lightweight frameworks
While pure web components offer long-term stability, lightweight frameworks like Stencil.js or Slim.js can provide a practical compromise for faster development and added comfort.
#10about 8 minutes
Answering audience questions about web components
The Q&A session addresses topics like Internet Explorer compatibility, the role of frameworks like Stencil, bundle size concerns, and the strategic trade-offs of going frameworkless.
Related jobs
Jobs that call for the skills explored in this talk.
Building a "shoutout" component in plain HTML/CSS/JavaScriptEvery Wednesday we meet at noon to talk about a lot of tech news, tools and resources in something we call WeAreDevelopers Live . We go live on YouTube and afterwards we cut out short videos to post on social media. What we needed was an obvious “sho...
Benjamin Ruschin
The HTML Elements That You’re Probably Over-EngineeringAs frameworks have become more and more commonplace in the world of web development, so too has the over-engineering of features made possible by our humble old friend, HTML.
The mental models that come with using state management in React, Vue and o...
Daniel Cranney
3 JavaScript-Free Techniques for Accordions, Dialogs, and Table of ContentsIf you’ve ever read the WeAreDevelopers Magazine before, you’ll know we love showing developers how to take advantage of native platform features and avoid over-engineering UI’s with frameworks or pre-built components.
So, when we came across Théodor...
Daniel Cranney, Chris Heilmann
Dev Digest 215: Agent Memory, JS2026, Googlebot Analysis & Canvas❤️HTMLInside last week’s Dev Digest 215 .
🗿 Make AI talk like a caveman
🧠 A guide to context engineering for LLMs
🤖 Simon Willison on agentic engineering
🔐 Axios supply chain attack post mortem
🛡️ Designing AI agents to resist prompt injection
🎨 HTML in c...
From learning to earning
Jobs that call for the skills explored in this talk.