logoalt Hacker News

sgttoday at 12:23 PM3 repliesview on HN

Happy they did this. Htmx is a great fit for server rendering - which in many or most cases is what you should do in any case. You can always put a mini VueJS or ReactJS app inside of a template for a very custom interactivity.


Replies

rubyfruittoday at 6:55 PM

I've been saying for years: All buildings should be parking garages.

Because you can always just put a mini residential building inside a parking garage if you need tenants.

Need an office? Just put a mini office in the parking garage. It's perfect.

Parking garage construction is so clean and simple. Other buildings are too complex! From now on, I'll only build parking garages.

(Then I guess you have the opposite example of the residence without the parking garage! It's a great place to live, but there's nowhere to store my things and park my car!)

asdfsa32today at 12:32 PM

Putting ReactJS or VueJS for a little interactivity is hardly the correct approach. It makes no sense to bring them in for "a little". What made React and React-like (Angular v2, Vue.js) frameworks stabilise is that they're about the right abstractions and everything else for managing dynamic html converges to about the same thing.

show 3 replies
skeptic_aitoday at 1:06 PM

That’s basically a massive hack. Every real world app will need enough js that htmx will require you to put js on front end and you’ll need to hack it together. Just like we did php+js 15 years ago.

show 5 replies