News for hackers. Stuff that matters.
Re:Building a fullstack app with Flask and HTMx by sixhobbits on Tuesday March 29, 2022 @11:59AM (#30844260)
They do, but they have a steeper learning curve and cause more separation between back and front end. Sometimes that's good, sometimes it isn't.

[0] and [1] are relevant sections of a much longer guide that go into more detail about the tradeoffs.

[0] https://www.saaspegasus.com/guides/modern-javascript-for-dja...

[1] https://www.saaspegasus.com/guides/modern-javascript-for-dja...

Re:Building a fullstack app with Flask and HTMx by pythonaut_16 on Tuesday March 29, 2022 @12:12PM (#30844444)
This is also one of the use cases that Vue targeted specifically and it greatly accelerated its adoption.

Vue positions itself for anything from jQuery replacement all the way to a full SPA and everything in between.

Re:Building a fullstack app with Flask and HTMx by zdragnar on Tuesday March 29, 2022 @12:26PM (#30844671)
It's how Facebook originally (still?) used react.

Anything works that way as long as it doesn't come with a built in router and you are careful not to accidentally bundle two different versions of your runtime.