Alpine.js
htmx
Our great sponsors
Alpine.js | htmx | |
---|---|---|
228 | 481 | |
23,823 | 12,563 | |
1.1% | 7.6% | |
6.2 | 7.6 | |
9 days ago | 4 days ago | |
HTML | JavaScript | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Alpine.js
-
Create a Responsive Nav Menu with Tailwind and Alpinejs
Alpinejs is a lightweight JavaScript framework that allows you to add interactivity to your websites. It provides a number of features that make it easy to add things like modals, tooltips, and animations to your site.
-
What tech stack should we use for SaaS development with FastApi as backend?
Nowadays, I use https://alpinejs.dev/ I want to describe it as a statefull jQuery. You "ask" alpine for things to have a certain behavior when certain conditions are met, and it takes care of the rest.
- Htmx
- Building a Front End Framework; Reactivity, Composability with No Dependencies
-
jQuery 3.7.0 is now available - This release has it all: bug fixes, a new method, and a performance improvement. We even dropped our longtime selector engine: Sizzle
I quite like https://alpinejs.dev/ for smaller embedded and non-component usage.
-
Htmx Is the Future
I really want to switch over to htmx, as I've moved away from SPAs frameworks, and I've been much happier. SPAs have so much abstraction, and modern JavaScript is pretty decent to work with.
The thing that keeps holding me back from htmx is that it breaks Content Security Policy (CSP), which means you lose an effective protection against XSS.[0] When I last asked the maintainer about this, the response was that this was unlikely to ever change.[1]
Alpine.js, a similar project to htmx, claims to have a CSP-compatible version,[2] but it's not actually available in any official builds.
[0] https://htmx.org/docs/#security
[1] https://news.ycombinator.com/item?id=32158352
You can implement interactivity which doesn't need data from the server entirely client side. Libraries like https://alpinejs.dev help here and pair well with htmx.
-
Beginner question
You can do vanilla JS, but also take a look at some libraries like https://htmx.org/ or https://alpinejs.dev/ to make it easier and reduce boilerplate.
-
Framework for a frontend-only project?
All of your requirements can be met by React or Vue but I would use https://alpinejs.dev
-
Which UI framework should I pick up as my first?
It depends a lot on what your project actually needs, but something like HTMX, AlpineJS, or even just plain old Typescript/Javascript might well be enough. If the majority of the work will be happening on the back end in Kotlin, and all you need is some UI to occasionally update itself or toggle a menu or something, then you don't really need to touch any of the heavyweight options at all.
htmx
- PHP to Golang
- Ask HN: Why is web development such a daunting task?
- Htmx
-
All Web frontend lisp projects
HTMX works well with any language, any backend and goes a long way. Unpoly too.
-
Is it OK to build full stack web app entirely in Go?
htmx for requests.
Of course it depends on your use case. But consider https://htmx.org/ together with go templates.
- Java notebook for Jupyter
-
htmx VS Swap - a user suggested alternative
2 projects | 19 May 2023
-
Ask HN: How do I make a website in 2023?
Look at htmx, i find the approach refreshing and elegant. May not be a fit for you, and does not address styling but it's an interesting, powerful technology.
Nice essays too:
the dream of the 90's is alive at big sky software:
What are some alternatives?
Svelte - Cybernetically enhanced web apps
petite-vue - 6kb subset of Vue optimized for progressive enhancement
React - The library for web and native user interfaces
Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]
jQuery - jQuery JavaScript Library
hyperscript - Create HyperText with JavaScript.
react-snap - đź‘» Zero-configuration framework-agnostic static prerendering for SPAs
Mithril.js - A JavaScript Framework for Building Brilliant Applications
knockout - Knockout makes it easier to create rich, responsive UIs with JavaScript
Angular - The modern web developer’s platform
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
django-unicorn - The magical reactive component framework for Django ✨