SolidJSS
SolidJSโ€ข3y agoโ€ข
13 replies
Bersaelor

How to keep/reuse DOM elements across routes?

So, when using solid-start with routes, what is the most idiosyncratic way of keeping one element of the DOM the same, while the user changes pages?

I.e. like youtube or spotify, where one element in the DOM is the <audio>/<video> that stays on screen no matter which page I load
Was this page helpful?