rockstor / rockstor-core

Linux/BTRFS based Network Attached Storage(NAS)
http://rockstor.com/docs/contribute_section.html
GNU General Public License v3.0
553 stars 137 forks source link

Adopt Alpine.js #2821

Open phillxnet opened 6 months ago

phillxnet commented 6 months ago

In the context of: "Reduce JS libs dependencies via HTMX" #2735 it is further proposed that we replace (bit by bit) our JQuery use with Alpine.js. Thanks to @FroggyFlox for some background research and for proposing this move.

From: https://alpinejs.dev/

Alpine is a rugged, minimal tool for composing behavior directly in your markup. Think of it like jQuery for the modern web. Plop in a script tag and get going.

Alpine is a collection of 15 attributes, 6 properties, and 2 methods.

As our current testing phase draws to an end (see: GitHub Milestone: https://github.com/rockstor/rockstor-core/milestone/27) we plan to address an update to our front-end dependencies during the next testing phase. This issue could be considered as part of that phase.