Re-render <head> content differences when using client-side navigation? #60512
Spekachu
started this conversation in
Interactivity API
Replies: 1 comment 2 replies
-
Hi @Spekachu. Updating the Still, this is something we need some time to design properly until we eventually release this feature. 🙂 I'm curious―what is your specific case? Do you have blocks that can appear conditionally? For now, as a workaround, maybe you could always inject the stylesheet. 🤔 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know we can use data-wp-router-region on our interactive blocks so they will re-render their content on client-side navigation. However if that new content is using a stylesheet in the which only loads on initial page load, that content won't display properly. Is there a solution for this?
The new stylesheets are included in the fetch response when navigating, I just can't figure out how to apply them to the navigated page.
Beta Was this translation helpful? Give feedback.
All reactions