Avichay Eyal

The Naked Web Developer: Your Browser Is Your Framework

Your browser is the only framework you need. Learn to build reactive, component-based apps with zero dependencies.

The Naked Web Developer: Your Browser Is Your Framework
#1about 5 minutes

The case for framework-free web development

Frameworks provide a safety net but come with bloat and integration challenges, prompting an exploration of building applications using only browser APIs.

#2about 3 minutes

Implementing a pub/sub system with native browser events

Create a lightweight event bus for application-wide messaging by wrapping the browser's built-in EventTarget API instead of using a library.

#3about 4 minutes

Creating observable state with JavaScript proxies

Use JavaScript Proxy objects to trap property assignments on a state object, automatically dispatching events on change for reactive state management.

#4about 5 minutes

Achieving dependency injection with class mixins

Implement a dependency injection pattern by creating class mixins that extend a base class and inject required services at runtime during object construction.

#5about 2 minutes

Using native web components for component authoring

Leverage native Web Components as a standard, framework-agnostic way to create encapsulated and reusable UI elements without third-party dependencies.

#6about 4 minutes

Creating a client-side router with the popstate event

Build a simple client-side router by listening for the popstate event, parsing the URL, and dynamically loading the correct component into a designated outlet element.

#7about 4 minutes

Passing environment variables using HTML meta tags

Inject environment variables into a client-side application without a build process by storing them in data-* attributes on a meta tag and reading them via the dataset API.

#8about 2 minutes

Evaluating the pros and cons of going framework-free

Weigh the trade-offs of avoiding frameworks, balancing the cons like initial setup time against the pros of performance, flexibility, and deeper team expertise.

#9about 14 minutes

Q&A on security, browser support, and testing

The discussion addresses common concerns about framework-free development, including security best practices, handling legacy browsers, and applying standard testing methodologies.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
BR
Benjamin Ruschin
The HTML Elements That You’re Probably Over-Engineering
As 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...
The HTML Elements That You’re Probably Over-Engineering
DC
Daniel Cranney
Dev Digest 195: End of Likes, JavaScript’s a Zoo, and Messing with Bots!
Inside last week’s Dev Digest 195 . 👎 No more external likes 🤗 Needy programs 📉 The worst selling Microsoft product 🟨 JavaScript engines zoo 🍞 No more toasts! 🤖 Messing with bots 👔 Beware of fake job interviews 🗞️ Join over 150,000 developers alread...
Dev Digest 195: End of Likes, JavaScript’s a Zoo, and Messing with Bots!
CH
Chris Heilmann
Links and anchors: ancient HTML and JS magic in your browser
Have you ever wondered why you use an <a> element to add link to an HTML document? Paragraph is <p>, unordered list is <ul>, image is <img> but why <a> instead of <link>? Well, the reason is that the element both defines where to go to, but also an e...
Links and anchors: ancient HTML and JS magic in your browser
CH
Chris Heilmann
Building a "shoutout" component in plain HTML/CSS/JavaScript
Every 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...
Building a "shoutout" component in plain HTML/CSS/JavaScript

From learning to earning

Jobs that call for the skills explored in this talk.