🔥 ReactJS devs should try htmx

preview_player
Показать описание
htmx is the new (old) hotness that lets you right reactive frontends with any backend server. Here's how it works and why React devs should care!

#programming #webdevelopment #javascript #reactjs #tutorial #beginner #whiteboardtheweb
Рекомендации по теме
Комментарии
Автор

FFS we've been doing that with ASP and PHP since the 90's.

NotMarkKnopfler
Автор

I write HTML by hand on each user request. This way each time you visit the site, it’s personalized. No point in making this harder than it needs to be bro

turolretar
Автор

So awesome how current dev would recommend previous gen engineering strategies

mbahmusalto
Автор

From my experience with htmx, it’s pretty good for basic CRUD operations, but for any complex state you need js.

deadchannel
Автор

Ah, the usual "we lack something" -> "this is too much" cycle.

ward
Автор

Now all your client side state can be written in the backend! "Let's just move bikini bottom away!!"

SaintPepsiSanCoca
Автор

They actually invented what we were doing with servlets and scriplets about 20 years ago.

danny__
Автор

Very clean and simple explanation. Nice.

JackHartwig
Автор

Jesus I've never seen a more pessimistic comment section in my life 😂

Ctrl_Alt_Elite
Автор

Just compare an app that renders in the backend with an SPA app on a midrange mobile phone, then you will see why its better to render in the backend.

abdelazizabdelioua
Автор

modern react developers now use server actions instead of an event handler (most of the time that is)

Dev-Siri
Автор

The alpine-ajax plugin for alpineJS gets you pretty close to this functionality, which is nice if you like alpine already

benbowers
Автор

It’s a cool idea I guess, but i’d rather not have to write endpoints that return html

anricoj
Автор

This vid is what sealed it for me trying HTMX.

thecodeburger
Автор

With htmx you have to do frontend work in backend.
I actually like the idea of only sending and receiving data. But I admit I like the attributes in general.

allessandro
Автор

There's only one big issue with htmx : front and back are too tightly coupled

nathymangaYT
Автор

Does that mean this only works with servers that return html dom elements and not JSON?

nanonkay
Автор

You'll be hunting down a typo for hours using this method.

RayZde
Автор

How is being able to work with multiple BE services more flexible? Its already happening currently

taimurqureshi
Автор

Wow you just showed a servlet architecture that just returns HTML…. This is an old architecture framework from the 90’s that was re-imagined as HTMX.

JohnTubeK