Preload extension and hx-boost not rebinding preload events? #2214
Unanswered
derekcavaliero
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Basically what I am trying to achieve is preloading my boosted links on |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to call htmx.process() if what you are swapping in has htmx attributes |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I feel like I am overlooking something here.
I have a simple WordPress site that I am using
hx-boost
on thebody
. Additionally - I havepreload
on the body to preload the links on the page tomousedown
(the default). This works for the first page load, but as soon as I navigate to another page via a boosted link, I no longer see the preloading happening for the boosted links on the swappedbody
.Am I doing something wrong here? Kinda stumped, I took a look at the source for the
preload
extension and it seems like it rebinds the events for triggering thepreload
requests via thehtmx:afterProcessNode
event hook... my HTML is very simple:Beta Was this translation helpful? Give feedback.
All reactions