Skip to content

how can htmx be re-loaded after blazor .net 8 static render using enhanced navigation #2003

Answered by Telroshan
TheRHogue asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, so I'm not sure about your setup, but it looks like you want to use htmx.process here.

If I understand correctly, you have DOM mutations happening in your page that aren't authored by htmx itself, and htmx doesn't work with those mutated elements right?
If that's the case, calling htmx.process on those new (or mutated) nodes will have htmx initialize them as you would expect!
If that's not the case, well sorry I wouldn't have understood your issue then 😆

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheRHogue
Comment options

Answer selected by TheRHogue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants