Show HN: Dagger.js – A buildless, runtime-only JavaScript micro-framework
📰 Hacker News · TonyPeakman
Learn about Dagger.js, a buildless JavaScript micro-framework for small apps and edge/serverless deployments
Action Steps
- Use HTML-first directives like +click and +load to add interactivity to your web pages
- Drop a single <script> tag from a CDN to ship a page, eliminating the need for bundlers and compile steps
- Explore Dagger.js' distributed module system to load small, focused script modules via CDN
- Build a small application using Dagger.js to understand its capabilities and limitations
- Compare Dagger.js with other micro-frameworks and libraries to determine its suitability for your project
Who Needs to Know This
Frontend developers and engineers can benefit from using Dagger.js for building small applications and internal tools, as it simplifies the development process and reduces dependencies
Key Insight
💡 Dagger.js allows developers to build and ship small applications quickly, without the need for bundlers, compile steps, or complex framework DSLs
Share This
🚀 Introducing Dagger.js, a buildless JavaScript micro-framework for small apps and edge/serverless deployments! 🚀
Key Takeaways
Learn about Dagger.js, a buildless JavaScript micro-framework for small apps and edge/serverless deployments
Full Article
TL;DR: dagger.js is a buildless, runtime-only micro-framework that plays nicely with native Web Components. It uses HTML-first directives (e.g. +click, +load) so you can ship a page by dropping a single <script> from a CDN—no bundlers, no compile step. Why I built it Modern stacks are powerful but often heavy: bundlers, compile steps, framework DSLs, local CLIs. For internal tools, small apps, and edge/serverless deployments, I wanted something you can view-source, paste into a page, and ship. What it is: Runtime-only: no build or VDOM compile; hydrate behaviors directly on HTML. HTML directives: e.g. +click, lifecycle +load / +loaded / +unload / +unloaded. Zero APIs: dagger.js works in pure declarative mode, modules and directives provide everything you need to build your application. Web-Components-first: works alongside Custom Elements; keep concerns local. Distributed modules: load small, focused script modules via CDN. Progressive enhancement: the page re
Related Videos
⚡
You're 1 lesson closer to your goal
Sign in free and we'll turn this lesson into a structured roadmap — starting with ⚡30 free Sparks for your first AI explanation or skill path.
Create free account →No credit card required.
DeepCamp AI