2 ms·
> Responses should be HTML: Htmx only works properly when the response of the triggered request responds with an HTML, thus, creating a web UI for an existing J
by zach_garwood 4y ago
> Responses should be HTML: Htmx only works properly when the response of the triggered request responds with an HTML, thus, creating a web UI for an existing JSON API with htmx without using any extension could be a difficult task.
This is an odd "con". If you have an endpoint serving JSON then surely you have frontend templates (JSX or otherwise) that you can adapt for your backend to serve instead, just with all of the data included.