الثلاثاء، 9 مايو 2023
Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js https://ift.tt/nNp82fb
Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js Fir leverages Golang’s standard library html/template package and a bit of alpinejs to allow building reactive UIs. You start with plain old html and use alpinejs to enhance it to bring no-page-reload interactivity to web apps. The Fir toolkit is designed for Go developers with moderate html/css & js skills who want to progressively build reactive web apps without mastering complex web frameworks. It includes a Go library and an Alpine.js plugin. How it works ? On receiving user-interactions the fir server re-renders html templates and sends it over the wire where the fir client library selectively updates the changed areas. When a user event is received by a Fir route, an array of html templates are rendered on the server and returned as an array of DOM events to the browser. The DOM events are consumed by the alpinejs plugin and dispatched within the DOM where listeners attached to elements can use the event to update the DOM. See the demo and quickstart here: https://ift.tt/YO5CWhi https://ift.tt/YO5CWhi May 10, 2023 at 03:03AM
الاشتراك في:
تعليقات الرسالة (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
ليست هناك تعليقات:
إرسال تعليق