frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Removing React.js from the codebase and adapting Htmx for UI interactivity

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interactivity/1267/
29•Ralfp•3h ago

Comments

Ralfp•56m ago
Archive link: https://archive.ph/bLu1Z
asdfsa32•45m ago
Great, now you can't offload your FE to a CDN.

But on serious note, htmx is basically a solution in the search of a problem. It is the new hype.

Or rather, a solution that overlooks 2 decades of learnings. Yes, for a small set of projects htmx is okay, but even then, where htmx is ideal, static is king, and once static is not good enough, htmx sooner or later starts to feel like the XAML and BPEL soap.

The fundamental problem is that it is pretending to be a declarative language while entirely imperative.

dajonker•22m ago
This feels like an uninformed, generalized opinion from someone with zero experience on the topic. Have you even used HTMX or a similar approach?

Besides the memes, it is absolutely not hype-driven, but hypermedia driven. It asks the question: could HTML be even more powerful than it already is?

The creators of HTMX even want to standardize core ideas of HTMX into the official HTML specification: https://triptychproject.org/ Please read this and reply when you still think it's hype.

asdfsa32•6m ago
I have been writing frontends since early 2000. So I have seen it all, from activex being shinny to jquery, mootools, backbonejs, angular 1.0, php, Java Spring, Go.

Hypermedia is what to web apps what XML is to programming languages. We have tried HTMX as a concept many times over, there is nothing new here, and like everything declarative, sooner or later it will fall short and you're going to reach for escape hatches and what not.

And the features specified in that project is nice to have, in the same way that it is nice that we have Date Pickers or other advanced input features, but it is never going to replace React-like frameworks.

Again, the reason we have finally stabilised on JSX is because you can't really "Decelerate" away HTML or sophisticated data and event management, Google really really tried that with Angular 1.0, and we know it doesn't scale.

xutopia•10m ago
Sounds like you never worked on complex HTMX systems. They're easier to maintain, allow for easy caching of HTML fragments in a page. For higher traffic pages React just fails spectacularly.
asdfsa32•2m ago
How does React fail for high traffic pages? It is amazing that you would suggest I don't understand HTMX "systems" and then go make such assertion.

I have been writing frontends since early 2000. So I have seen it all, from activex being shinny to jquery, mootools, backbonejs, angular 1.0, php, Java Spring, Go. I looked into htmx and it is very much a second attempt at angular 1.0, which I did use for some good half decade as that was the best option at the time, but sooner or later, you get sick of stuffing "little codelets" inside attributes all over the place, which is exactly what htmx does.

If you want to understand what htmx is going to look like at scale, look at angular 1.0 projects.

bcrosby95•8m ago
For what it's worth, your last statement is why react always felt off to me.
sgt•38m ago
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.
asdfsa32•28m ago
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.
sgt•15m ago
In principle I agree that putting React or Vue in for a little interactivity is a bad approach, if the same can be achieved with Htmx, which it usually can.

However for some really complex mini apps, that's another story. But for the rest of those CRUD pages, you can go simple server side rendered.

asdfsa32•14m ago
"Complex mini app" is one hell of a concept.
Raed667•16m ago
React is probably the wrong FE pattern/framework for a forum, I'm not sure HTMX is the right one though ...

How is the Bun Rewrite in Rust going?

https://lockwood.dev/ai/2026/07/27/how-is-the-bun-rewrite-in-rust-going.html
135•tomlockwood•1h ago•78 comments

Kimi-K3 Releases on HuggingFace 7/27

https://huggingface.co/moonshotai/Kimi-K3
535•nateb2022•6h ago•246 comments

Elevated errors on Claude Opus 5

https://status.claude.com/incidents/mfdtrknpxghq
22•croemer•1h ago•18 comments

AI companies are shredding rare books

https://xcancel.com/HedgieMarkets/status/2081534588485296565
68•anon373839•29m ago•21 comments

PGSimCity - How PostgreSQL Works

https://nikolays.github.io/PGSimCity/
720•jonbaer•12h ago•68 comments

Libsm64: Mario 64 as a library for use in external game engines

https://github.com/libsm64/libsm64
40•klaussilveira•2h ago•8 comments

Magnolias Are So Old That They're Pollinated by Beetles, Not Bees

https://mymodernmet.com/magnolia-ancient-flowers-beetles/
116•speckx•4d ago•47 comments

Removing React.js from the codebase and adapting Htmx for UI interactivity

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interact...
30•Ralfp•3h ago•12 comments

Building a Fast Lock-Free Queue in Modern C++ from Scratch

https://blog.jaysmito.dev/blog/04-fast-lockfree-queues/
23•ibobev•4d ago•3 comments

The Birth of the American 12-string Guitar

https://www.harpguitars.net/history/grunewald/12-string.htm
28•bilegeek•2h ago•12 comments

Show HN: Physically accurate black hole you can put in your room

https://blackhole.plav.in
376•aplavin•3d ago•124 comments

Towards a Theory of Bugs: The Ruliology of the Unexpected

https://writings.stephenwolfram.com/2026/07/towards-a-theory-of-bugs-the-ruliology-of-the-unexpec...
10•nsoonhui•3d ago•0 comments

The Proof Machine (2016)

https://incredible.pm/
4•BenoitP•32m ago•0 comments

Shay Locomotives

https://www.shaylocomotives.com/
23•Rygian•3h ago•4 comments

VLC for Unity now supported on Linux

https://code.videolan.org/videolan/vlc-unity
50•martz•3h ago•14 comments

Elevated errors on Claude Opus 5

https://status.claude.com/incidents/lhqp09kxq7pb
31•flyaway123•4h ago•15 comments

Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

https://github.com/vercel-labs/scriptc
221•maxloh•14h ago•109 comments

Modern email can be built from borrowed parts

https://en.andros.dev/blog/d7ed8b07/modern-email-can-be-built-from-borrowed-parts/
40•andros•4h ago•10 comments

Worse on Purpose

https://ledger.worseonpurpose.com/brands
14•bookofjoe•32m ago•1 comments

Decker, a platform that builds on the legacy of Hypercard and classic macOS

https://beyondloom.com/decker/
334•tosh•18h ago•76 comments

US citizen charged after GrapheneOS phone wipes during airport search

https://www.techspot.com/news/113236-us-prosecutors-charge-atlanta-man-after-grapheneos-phone.html
929•eecc•14h ago•720 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
193•zdw•16h ago•75 comments

Chinese chipmaker shares surge 470%

https://www.bbc.com/news/articles/c9q9w3x9qn2o
111•pingou•3h ago•98 comments

I wanted a clock that never needed setting. Things escalated

https://arstechnica.com/gadgets/2026/07/i-wanted-a-clock-that-never-needed-setting-things-escalated/
139•lee_ars•4d ago•116 comments

Google Chrome Arrives on ARM64 Linux, Widevine DRM Included

https://www.omgubuntu.co.uk/2026/07/chrome-arm64-linux-available
14•twapi•1h ago•5 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
197•tosh•18h ago•53 comments

Measuring developer productivity with the DX Core 4

https://getdx.com/research/measuring-developer-productivity-with-the-dx-core-4/
30•saikatsg•3d ago•25 comments

How Unix spell ran in 64 kB of RAM

https://blog.codingconfessions.com/p/how-unix-spell-ran-in-64kb-ram
58•donw•4h ago•4 comments

Fonts In Use – Find out where a font is used

https://fontsinuse.com/
87•open_•13h ago•10 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
148•xterminal•16h ago•65 comments