4 ms·
Thanks for HTMX and your essays. Today I was reading HTMX documentation on what to do when we design API-first for a particular project but don't want any of th
by animesh 5y ago
Thanks for HTMX and your essays. Today I was reading HTMX documentation on what to do when we design API-first for a particular project but don't want any of the frontend magic aka SPA. I found immediately that I need to use both json_enc and client-side-templates extensions. Hope I am on the right path.
- recursivedoubts 5y agohi animesh, that would only be the case if you are trying to retrofit htmx on top of an existing JSON API if it is greenfield development, it is much better to simply return SSR HTML and avoid that complexity you can join the discord for more immediate help: https://htmx.org/discord https://htmx.org/discord
- animesh 5y agoThat makes sense. I didn't think about it that way, but traditional MVC views would do just as well I guess for greenfield work.