الجمعة، 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
-
Show HN: LibRapid -- A high performance multi-dimensional array library tl;dr I'm developing an incredibly fast library for arrays and m...
-
Show HN: Chemiscripts: translate ASCII chemical formulas into Unicode https://ift.tt/uyr5Sx9 March 21, 2022 at 11:33PM
-
https://ift.tt/3mx9fc3 via /r/aww https://ift.tt/3ehdcxb
-
Show HN: Study, research and learn with thinking notebook – MindForger 1.50.0 https://ift.tt/2TBgRfX January 19, 2020 at 02:36AM
-
https://ift.tt/VM1XpfD via /r/aww https://ift.tt/en2gH7o
-
Medical News Today: Folate vs. folic acid: What to know Folate and folic acid are forms of vitamin B-9. Folate occurs naturally in a range o...
ليست هناك تعليقات:
إرسال تعليق