Live data from Hacker News

Htmx in a Nutshell

htmx.org

291–300 of 414 posts

Re: Htmx in a Nutshell

#291
I like HTMX. But I got stuck with the fact that there is no url routing or history. After using things like React and Angluar, I am used to having well defined urls that can get me where I want. Perhaps there is some recommended way to add some other library ontop of htmx, but maybe I'm the only one looking for this?

Re: Htmx in a Nutshell

#292
post #3

I am burnt out (but recovering!) with web dev and htmx is what I am using for my project. Django, DRF, Postgres, tailwind and HTMX. I am so tired of all the front end frameworks and all the complexity that gets added. At some point I think you need it and you get returns from it but hearing more people in the industry recognize and talk about how JS everything isn't always the answer gives me hope. I like what HTMX h…

I played with HTMX and I think it just pushes complexity into the back end that now needs to render full and partial pages. Granted on the back end you get to do traditional programming and pick your language

In a lot of cases you can go a long way without having to adapt the backend at all - just request the full page at the existing url and pick which part you want to replace. Works well enough with a page that presents paginated items for example.

Re: Htmx in a Nutshell

#295

I like HTMX. But I got stuck with the fact that there is no url routing or history. After using things like React and Angluar, I am used to having well defined urls that can get me where I want. Perhaps there is some recommended way to add some other library ontop of htmx, but maybe I'm the only one looking for this?

History? As in, pushing the URL into the browser history when, e.g., navigating a paginated table? HTMX can do that with no issues.

Re: Htmx in a Nutshell

#296
I was going to say this reminds me of intercooler.js, but it looks like htmx is a sequel of sorts.

Very cool, I used intercooler for some stuff a while ago and I loved it, I'll have to check this out.

Re: Htmx in a Nutshell

#297

I like HTMX. But I got stuck with the fact that there is no url routing or history. After using things like React and Angluar, I am used to having well defined urls that can get me where I want. Perhaps there is some recommended way to add some other library ontop of htmx, but maybe I'm the only one looking for this?

Maybe this is what you are looking for?

https://htmx.org/docs/#history

Re: Htmx in a Nutshell

#298
While I understand the appeal, attribute based frameworks always felt hacky for me.

OTOH React immediately clicked, as it is just javascript.

I've tried it both back in the Angular 1.0 days, but React came ahead both in the composability and maintainability departments.

Re: Htmx in a Nutshell

#299
post #3

I am burnt out (but recovering!) with web dev and htmx is what I am using for my project. Django, DRF, Postgres, tailwind and HTMX. I am so tired of all the front end frameworks and all the complexity that gets added. At some point I think you need it and you get returns from it but hearing more people in the industry recognize and talk about how JS everything isn't always the answer gives me hope. I like what HTMX h…

Using the same here from https://www.saaspegasus.com/

Re: Htmx in a Nutshell

#300
post #50

Earlier quoted context omitted.

Doing something similar with janet. Really does simplify so much, and being able to not have to worry about always translating json -> html via { insert SPA framework here } is a breath of fresh air.

Same here, also using Janet + htmx!

Do you mean this?

https://janet-lang.org/

Post reply on HN