4 ms·
Nah, the main use case for react is making html that's so shitty and convulated that you can't write an ad blocker that works for it. If that's your goal it's p
by traverseda 3y ago
Nah, the main use case for react is making html that's so shitty and convulated that you can't write an ad blocker that works for it. If that's your goal it's probably a good choice.
I'm only half joking here, as that does seem to be one of the main reasons Facebook uses it. Another factor is that they write their backend in php.
Less tongue in cheek, why do you think that HTMX mixes presentation and business logic? Are you imagining we put business logic in the templates?
- withinboredom 3y ago> Another factor is that they write their backend in php. Hack is the language, not PHP. But if you're looking for PHP + HTMX + components with no js ... I built a framework for it: https://framework.getswytch.com/ https://framework.getswytch.com/
- pyr0hu 3y agoAh yes, we are still in 2023 and we are still flaming any PHP user because PHP is so 2001.
- OhMeadhbh 3y agoI believe we are flaming PHP users because people remember the state of PHP from 2001. It was a great language for generating HTML to put around a MySQL query. And has advanced from that. But people still remember it for what it lacks: Websocket support, sub-1-secod timers, namespace management, consistent class method call semantics, etc.