HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mal-2

no profile record

comments

mal-2
·7 mesi fa·discuss
This is what doesn't get discussed enough around htmx, in my opinion. So much of the difficult steps are left for the templating system, and template systems aren't great in general. You need to track a lot of identifiers for htmx to work properly, and your template and view logic needs to make that make sense. For the templating systems I've seen, that's not so simple to do.
mal-2
·4 anni fa·discuss
Definitely agree. In the time it took you to mock your the state management, the backend endpoints, and the browser localStorage to isolate your unit, you probably could have written it in Playwright end-to-end with nothing mocked. The you'd actually know if your react code broke when the API changed, instead of pretending your out of date mock is still in sync.