Hacker News new | ask | show | jobs
by infecto 900 days ago
How to counter it. HTMX takes no more than half a day to pick up, probably quicker than that.

Keep in mind HTMX does not solve all scenarios, there are times when a SPA using a JS framework is required.

2 comments

That's not entirely correct. It takes a day to pick up and a week to master :-). Well, it does take a little longer to learn all the nuances. Also, I've used this pattern in my personal apps (and for one app at work) and sometimes I felt that I needed to use a front end lib for a page, but after thinking about it I learned that I still didn't need a front end lib as hypermedia covered my needs.

I do agree there are times that a traditional front end lib might be needed but it is much rarer than we think.

I know nothing about HTMX. Where do I look first?
If you want a longer introduction you can read out book (free online): https://hypermedia.systems
ah, thanks! This looks to satisfy a similar use-case to LiveView which I already have access to in my current stack but it's always good to know about other options
https://htmx.org/

The examples at https://htmx.org/examples/ may also be helpful

aha! I already have access to LiveView so this seems redundant but this is good to know about