Live data from Hacker News

Please just try HTMX

pleasejusttryhtmx.com

311–320 of 530 posts

Re: Please just try HTMX

#312
post #22
post #16

The thing is React is usually fine, and even if you don't have to build _this_ thing in React due to simplicity, why bother learning two paradigms when you can just use the heavier one for everything and most likely never encounter any real practical showstopping issue?

> why bother learning two paradigms Objection. Your React is ultimately turning into HTML so you DO have to learn HTML + CSS. You just have an abstraction over it.

honestly both the react haters & the htmx haters are wrong on this

if you care about have a solid UI, you should learn everything

you should learn css, react, svelte, vue, rails, tailwind, html

if you don't and you say you actually care about your UI, your opinion is actually irrelevant

Re: Please just try HTMX

#313

Hey, I created htmx and while I appreciate the publicity, I’m not a huge fan of these types of hyperbolic articles. There are lots of different ways to build web apps with their own strengths and weaknesses. I try to assess htmx’s strengths and weaknesses here: https://htmx.org/essays/when-to-use-hypermedia/ Also, please try unpoly: https://unpoly.com/ It’s another excellent hypermedia oriented library Edit: the arti…

If you are comfortable building web apps like the early adopters did in 1999 that later got mainstreamed with Ruby-on-Rails and related frameworks, HTMX adds a wonderful bit of extra interactivity with great ease. Want to make a dropdown that updates a enumerated field on a record? Easy. Want to make a modal dialog when users create a new content item? Easy. Want a search box with autocomplete? Easy. As I see it the…

Why did you reply to this comment?

None of this mentions anything at all mentioned in the parent post.

Was it just a shameless way to ride on what would become a top comment?

Re: Please just try HTMX

#314
> You do need a search box that shows results as you type. You do need interactivity.

You can use JavaScript for it.

I've been trying lately ruby templates with some occasional JS for this and it works great.

Or implement a straight forward web component.

Re: Please just try HTMX

#315

Hey, I created htmx and while I appreciate the publicity, I’m not a huge fan of these types of hyperbolic articles. There are lots of different ways to build web apps with their own strengths and weaknesses. I try to assess htmx’s strengths and weaknesses here: https://htmx.org/essays/when-to-use-hypermedia/ Also, please try unpoly: https://unpoly.com/ It’s another excellent hypermedia oriented library Edit: the arti…

You really need to shut this down dude. If HTMX becomes famous for having overbearing advocates that's a really bad look. Look at what happened with Rust.

[deleted]

Re: Please just try HTMX

#316
post #15

I am tired of people using the smallest "Hello World" example to demonstrate how something is better than React -- "See, you don't need all these things to get a website up and running!" Of course it will work. I can vibe code the most terrible web framework you have seen within 20 minutes and claim it is better than React, but what does it prove? > You write zero JavaScript > The whole library is ~14kb gzipped Oh su…

There's also the opposite camp: when you show very complex scenarios being simple in some technology but the hello world is harder.

e.g. effect-ts which makes error handling, dependency injection, concurrency, retries, stack safety, interruptions, etc, simple but the hello world already hits people with "wait, it's 6 lines of code to print hello world!? Trash".

Re: Please just try HTMX

#318
> Or are you building another dashboard, another admin panel, another e-commerce site, another blog, another SaaS app that's fundamentally just forms and tables and lists?

Install an open source admin panel and call it a day.

Re: Please just try HTMX

#319
post #202

This is a retarded advice. Author clearly never tried to develop any serious web development. > the build time is over 30 seconds! that's silly. 30 seconds building time is nothing compare to the accumulated time you wait for micro changes to your frontend. for typical web development using react/vue/svelte you have hot code reloading, which can reload the current website for htmx to update, you have to wait for your…

Thanks for this advice. I will never ever try HTMX now. I hate waiting. This makes me sick.

Re: Please just try HTMX

#320

I've had good success with Turbo (previously Turbolinks). The newer versions (ie. Turbo) really fixed up the shortcomings of the older versions (ie. Turbolinks) and I enjoy using it. Any big reason to use HTMX instead? Is Turbo not really discussed much because of it's association to RoR?

I have fond memories of Turbo Pascal.
Post reply on HN