2 ms·
This may depend on a type of website/webapp one is working on? I have a suspicion that sometimes HTMX may actually fit nicely (e.g., for an online survey), some
by drdaeman 2y ago
This may depend on a type of website/webapp one is working on? I have a suspicion that sometimes HTMX may actually fit nicely (e.g., for an online survey), sometimes React-like framework is the probable way to go (e.g. a marketplace app), and sometimes it could be that neither is a good option (e.g. games).
- DanielHB 2y agoThe main problem is that it is not really viable to start with HTMX and add react (or another frontend framework) later because you end up having two completely separate stacks that are very incompatible with each other. The worst sin a large codebase can do is being inconsistent.
- recursivedoubts 2y agoAh yes. The You Are Maybe Gonna Need It (YAMGNI) principle, a classic.
- DanielHB 2y agoUnfortunately yes, because you often do need it.
- recursivedoubts 2y agosuppose it depends (https://htmx.org/essays/when-to-use-hypermedia/ https://htmx.org/essays/when-to-use-hypermedia/) but i see an awful lot of apps choosing SPA frameworks to just move forms into databases