by bitterblotter on 1/8/24, 1:03 AM with 118 comments
I recommend clicking through the examples.
Github repo: https://github.com/lassebomh/htmx-playground
Probably my favorite part is the lack of HTMX specific code. It's designed to mimic the client and server, but really nothing else. In principle, this means that it is agnostic to whatever frontend framework is being used.
Known problems: Limited mobile support, Ace Editor (should just be Monaco) and lack of proper error outputs.
Feel free to give feedback, suggestions or questions.
I learned a lot when making it, and I hope you'll something about HTMX! Happy tinkering.
by recursivedoubts on 1/8/24, 3:50 AM
by nlstitch on 1/8/24, 11:17 AM
I'm used to proprietary frameworks, in my case I worked with intershop which uses isml. (this is comparible to something like thymeleaf). In recent years we tried to move away from this approach and go to the angular front end Stack because it's easier to hire a dedicated frontend developer than it is to hire a specialized fullstacker. Stuff can get complex when you're using something like htmx and developers don't want to fight spaghetti monsters. You don't want you backend guys to be the bottleneck, e.g. when FE just creates HTML and the backend has to tie it all together.
My question is; has HTMX thought about the pitfalls like this, and how do you counter it?
by philips on 1/8/24, 1:52 AM
by Towaway69 on 1/8/24, 7:47 AM
Monaco doesn't work on mobile by design, so people use Ace on mobile.
At least the last time I checked GitHub[0].
by mseidl on 1/8/24, 10:11 AM
by nymanjon on 1/13/24, 5:45 PM
This is cool though. Good job!
by aatd86 on 1/8/24, 5:31 AM
by johnnylambada on 1/8/24, 10:00 PM
by aitchnyu on 1/8/24, 5:05 AM
by TobyTheDog123 on 1/8/24, 6:05 AM
by pacifika on 1/8/24, 7:44 PM
I did lose my work a few times when I tried to paste the json into they url load field (it requires an url) and when I couldn’t cleanvthe network request browser (feature request). Great work.
by greatgib on 1/8/24, 7:38 AM
Intersepts => intercepts
by imetatroll on 1/8/24, 9:53 AM
by ametrau on 1/8/24, 1:36 PM
by sroerick on 1/8/24, 3:41 AM
by yesco on 1/8/24, 10:00 AM
by Solvency on 1/8/24, 3:24 AM