You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to understand how best to approach HTMX OOB responses when using Falco. I'm having issues returning rendered, side-by-side XmlNodes (no parent root node) using Falco's built-in renderer. Based on my reading, HTMX wants nodes side-by-side for OOB responses, but Falco's renderer will only render a single node at a time.
A solution to this is simply to render each node then concatenate the strings (or re-implement the renderer to handle a list of nodes), but figured I would ask here for insight on something I might be missing before picking one of those solutions.
Thanks for any help and thanks to everyone whose contributed to Falco -- it's been lovely to develop with :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been trying to understand how best to approach HTMX OOB responses when using Falco. I'm having issues returning rendered, side-by-side XmlNodes (no parent root node) using Falco's built-in renderer. Based on my reading, HTMX wants nodes side-by-side for OOB responses, but Falco's renderer will only render a single node at a time.
HTMX's expected HTML
src
Falco's renderer
src
A solution to this is simply to render each node then concatenate the strings (or re-implement the renderer to handle a list of nodes), but figured I would ask here for insight on something I might be missing before picking one of those solutions.
Thanks for any help and thanks to everyone whose contributed to Falco -- it's been lovely to develop with :)
Beta Was this translation helpful? Give feedback.
All reactions