3 ms·
For 1, you would probably want to follow the code here for client side templates: https://unpkg.com/htmx.org@1.7.0/dist/ext/client-side-templates.js https://un
by recursivedoubts 5y ago
For 1, you would probably want to follow the code here for client side templates:
https://unpkg.com/htmx.org@1.7.0/dist/ext/client-side-templates.js https://unpkg.com/htmx.org@1.7.0/dist/ext/client-side-templa...
in particular taking advantage of the `transformResponse` extension point in htmx. It would not be too much work to allow a function call to transform and extract information from the `text` variable, which is the raw response text.
For 2, I have updated the FAQ to make it clear that it's a joke.