The idea is to provide a component similar to AuthorizeView that allows the user to render different content in a declarative way depending on whether a request is from HTMX or not.
Suggestion:
<HtmxRequestView>
<FullPageContent>
This only renders if this is not a htmx request.
It can include the HtmxContent by referencing @context.HtmxContent
</FullPageContent>
<HtmxContent>
This only renders when the request is made by Htmx
</HtmxContent>
</HtmxRequestView>
The idea is to provide a component similar to
AuthorizeView
that allows the user to render different content in a declarative way depending on whether a request is from HTMX or not.Suggestion: