Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to keep/reuse DOM elements across routes? - SolidJS
S
SolidJS
โข
3y ago
โข
13 replies
Bersaelor
How to keep/reuse DOM elements across routes?
So
, when using
solid-start
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>
<audio>/<video>
that stays on screen no matter which page I load
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How does Solid attach event handlers to DOM elements?
S
SolidJS / support
13mo ago
Cache dom elements with router
S
SolidJS / support
3y ago