Why another framework? (opens in new tab)
There are many things I find wonderful about Alpine.js and htmx. However, there are a few things that I think could be improved. The biggest challenge it both is plugins (called directives/magic in Alpine and extensions in htmx). I tried writing in both of them and was disappointed by the breadth of monkey patching and lack of type safety. In general, you don’t have access to what other plugins do nor can you build a DAG of dependencies (i.e. you can’t structure the dependencies in a way that...
Read the original article