News for hackers. Stuff that matters.
Re:How React 19 Almost Made the Internet Slower by nine_k on Monday June 17, 2024 @03:07PM (#40709731)
In general, the less code you have, the better.

Sadly, many products require sophisticated frontends, the FE is often a core part of the value proposition. React may be overkill in smaller cases, but it's a good tool in these cases of complex dynamic UIs.

Re:How React 19 Almost Made the Internet Slower by freedomben on Monday June 17, 2024 @03:56PM (#40710303)
Exactly. Things like LiveView (Phoenix) are changing the game somewhat, but if you need a sophisticated frontend, React is still a good way to go. PWAs in particular I think still have a lot of promise, even if they are being (intentionally) stifled by tech companies that have competing interests and want web apps to be as impotent as possible.

For simple frontends that don't need to be complex UIs, I definitely don't turn to React (I love simple tried-and-true templating systems like ERB and/or EEX), but I definitely think React has it's place. Not everything should be SPA, but that doesn't mean nothing should.