2 ms·
I don’t understand what HTMX has to do with state synchronization. If you want to implement a thin client authoritative server architecture in React (or another
by zarzavat 3y ago
I don’t understand what HTMX has to do with state synchronization. If you want to implement a thin client authoritative server architecture in React (or another JS framework), you can just do it that way. React doesn’t have any opinion on how information flows between client and server. State in React is optional, you can do everything with props if you want to.
- halfcat 3y agoYou’re right. It can be done with React, if your team knows React. State was just an illustrative example that “writing a thin HTMX layer” is not necessarily a bigger lift than “just use a framework”. There’s a big gap between “write some small thing in PHP” or whatever your team knows, and “learn React well enough to do it the right way”. As the person I replied to said, it’s not about what’s possible. It’s about getting something done today.