Show HN: Mizu.js – Bringing back simplicity in web apps creation Hey HN, I'd like to share a fun project I've been working on: mizu.js. It's a js library that add functional attributes support into your html, designed to be a simple and flexible alternative to fully-fledged web frameworks (such as Vue, React, and Angular), while offering more capabilities than other lightweight options (like Alpine.js and htmx). As it's written using modern ES features and due to its isomorphic nature, it can be run in both browsers and runtimes (Node, Deno, Bun) without any changes. This makes it ideal for client-side and server-side rendering, as well as static site generation, whichever environment you prefer. Just include the script in any web page (or backend) to get started. You can template content, bind attributes, add interactivity, handle HTTP interactions, create custom components, and much more — all out of the box, without any configuration, transpilation steps, or builds. I hope you'll find mizu.js as exciting and useful as I do and I'd love to get your feedback! You can learn more about it at https://mizu.sh ! Online playground: https://ift.tt/TIQd9Gj Custom builder: https://mizu.sh/build Code coverage: https://ift.tt/W3ceUV5 GitHub: https://ift.tt/tyQVU2J ## Motivation ## Nowadays, setting up a complete environment and installing thousands of packages is often required just to create a simple "Hello World" page. Yet, with the current ECMAScript standard, vanilla JS has never been more powerful. It offers built-in custom HTML components, proxies for changes tracking, weak references for better memory management, and many new data structures and methods. So why is web development still insanely complex? mizu.js aims to avoid adding bloat on top of native features, and instead focus on providing convenience helpers. It's basically "glue" around all these native features with added sugar, a recipe for a lightweight yet powerful utility. All evaluated expressions are interpreted as vanilla JavaScript, and you add your instructions directly into your HTML. So if you know already know about JS/HTML, then you're already 80% know of how to use mizu.js (add an extra 10% if you've used Vue, Alpine.js or htmx in the past as some syntax and concepts are inspired by it), the rest is basically just remembering the directive names. The learning curve is that small. Also, you may have heard of https://matcha.mizu.sh , a CSS stylesheet to instantly make your web page stylized. Well, it's a great companion to mizu.js. With both of them, you can create MVPs for your projects super fast! https://mizu.sh December 19, 2024 at 11:55PM
Show HN: Mizu.js – Bringing back simplicity in web apps creation https://ift.tt/zVnjOie
Related Articles
Show HN: CodSpeed – Continuous Performance Measurement https://ift.tt/8Xi27BLShow HN: CodSpeed – Continuous Performance Measurement Hi HN! We’re Ar… Read More
Show HN: AI-Generated Vector Art https://ift.tt/OhBcs4RShow HN: AI-Generated Vector Art https://ift.tt/McaImpv July 14, 2023 … Read More
Show HN: I built a tool to download your chess games https://ift.tt/Mi9QSKXShow HN: I built a tool to download your chess games Hi HN, here is my… Read More
Show HN: Roast My Career with Elon Musk AI https://ift.tt/FVgCUBWShow HN: Roast My Career with Elon Musk AI Get Your Career Roasted by … Read More
Show HN: Distributed System Simulation and Visualization https://ift.tt/UMLjflSShow HN: Distributed System Simulation and Visualization https://ift.t… Read More
Show HN: Otoclick.app – Automate anything on your Android phone without rooting https://ift.tt/ImS3ojtShow HN: Otoclick.app – Automate anything on your Android phone withou… Read More
Show HN: Pay More, Be Seen https://ift.tt/nf3vo76Show HN: Pay More, Be Seen Part social experiment ala milliondollarhom… Read More
Show HN: PikaTorrent, a modern, multi-platform, open source BitTorrent app https://ift.tt/K5URT07Show HN: PikaTorrent, a modern, multi-platform, open source BitTorrent… Read More
0 Comments: