No framework frontends in practice
summary
Shows a runnable single-page app built with native Web Components, bundled with Webpack + Babel + webpack-dev-server and served with historyApiFallback. Implements 10 lines of routing (pushState/popstate plus link interception), custom elements with constructor/connectedCallback and attributeChangedCallback for live updates, and fetch-based data loading from a public posts API. Provides a component-based project structure, a small post editor that updates another component via attributes/events, and working code and slides on GitHub.
AI-written summary · about
chapters (12)
- 0:00Introduction to no-framework frontends
- 2:39Why avoid frameworks
- 7:27JavaScript readiness for web components
- 8:31Setting up the project
- 13:17Creating the entry point
- 15:27Building components
- 20:49Web component basics
- 24:22Single-page app routing
- 30:54Enabling SPA without refresh
- 35:14Fetching data from APIs
- 39:52Dynamic component updates
- 44:09Key takeaways and conclusion
