Hi Dan, great content as usual! I'm still rather new to HTMX and normally I would return only the "templatename" from the updateCart controller instead of using the "templatename :: fragmentname" - Usually I keep fragments separate in their own templates. I understand using the "templatename :: fragmentname" is good for multiple fragments in one template, but should I rather be using this format regardless of how many fragments in a template? Also in my fragment templates, I have been omitting the head section and body tags - is this bad practice? Should I be including the head and body tags in my fragments too? Thanks!
Nice! Can't wait till feature is available
I didn't quite understand how this was different from before until that last bit about returning multiple fragments. Thank you for the explanation!
That's interesting! Can't wait to see it ...
maybe if it comes with proper tooling to support, otherwise is just jsp fragments all over again
Hi Dan, great content as usual! I'm still rather new to HTMX and normally I would return only the "templatename" from the updateCart controller instead of using the "templatename :: fragmentname" - Usually I keep fragments separate in their own templates. I understand using the "templatename :: fragmentname" is good for multiple fragments in one template, but should I rather be using this format regardless of how many fragments in a template?
Also in my fragment templates, I have been omitting the head section and body tags - is this bad practice? Should I be including the head and body tags in my fragments too? Thanks!
Time for challange - do your blog in it :D
As always, excellent presentation and very instructive. Thx Dan.
Thank you so much 😊