الجمعة، 19 مايو 2023
Show HN: Swap.js – a JavaScript micro-framework (HTML fragments over the wire) https://ift.tt/n8qWCyv
Show HN: Swap.js – a JavaScript micro-framework (HTML fragments over the wire) Hi HN! I created this lib in the need of a simple and tiny framework to easily do AJAX-style navigation / replacement of fragments in the page, in a web application. For people who don't want to use client-side-rendering and complex frameworks à la React, there are nowadays a few "HTML-over-the-wire" libraries, like HTMX, Unpoly or this super-tiny one Swap.js :) One other key thing is that no external tool is needed: no bundler, no webpack, no TypeScript compiler, no minification needed. Just write HTML, JS (+ your preferred server-side language: PHP, Python, etc.) and it works. The framework makes use of fetch (of course) but also MutationObserver API to be able to launch actions when parts of the DOM change. Let me know what you think! https://ift.tt/wTzUAnr May 18, 2023 at 09:04PM
الاشتراك في:
تعليقات الرسالة (Atom)
������ �����
خدمات طبيه https://www.cut-titles.com/Y4ZR
-
https://ift.tt/85N2Xo7 via /r/aww https://ift.tt/QZNBPa0
-
https://ift.tt/3arFSCM via /r/aww https://ift.tt/3mAq3w2
-
Show HN: Which Countries Have the Most Open-Source Contribution? The last two weeks of Console [1] I interviewed people who are not from the...
-
Show HN: Nango, a Django extension providing SPA-like features https://ift.tt/qVsNBZw February 13, 2022 at 02:24AM
-
Show HN: Tailwind CSS editor for busy developers https://tailwind.build/ November 4, 2019 at 11:51AM
-
The Future of Slow Streets By Eillie Anzilotti Over the past two years, Slow Streets have shown how simple designs that prioritize people ...
ليست هناك تعليقات:
إرسال تعليق