Direct vsn-get
The response is swapped into a target and any VSN behavior in the fragment is processed.
Loading direct fragment…
Direct request failed:
Nothing loaded yet.
Behavior cookbook
Compare the built-in vsn-get attribute with an async CFS function that owns request state.
vsn-getThe response is swapped into a target and any VSN behavior in the fragment is processed.
Loading direct fragment…
Direct request failed:
This path makes loading, success, and failure explicit in local state.
Loading fragment…
Request failed:
The fragment loaded successfully.
The direct request also sends partial-request headers such as HX-Request and HX-Target.