الجمعة، 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: Keywords2lyrics – Automatic Songwriting from Keywords https://ift.tt/3kZV3oV September 29, 2020 at 01:20AM
-
Show HN: TxtNet Browser – A Web Browser That Communicates over SMS https://ift.tt/sGRAyga September 20, 2022 at 02:20AM
-
https://ift.tt/2YHlNkB via /r/aww https://ift.tt/2Y3daRZ
-
https://ift.tt/2PDOqv0 via /r/aww https://ift.tt/3ah8xXN
-
https://ift.tt/2TgZalv via /r/aww https://ift.tt/2VztHwb
-
Show HN: AWS Lambda Terraform Cookbook with working examples https://ift.tt/37XjxeJ December 31, 2020 at 05:22AM
-
Show HN: We wrote a book about building business applications in Go https://ift.tt/3e47m1F May 13, 2021 at 01:58PM
ليست هناك تعليقات:
إرسال تعليق