Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Why is whole app unmounted on navigation? - SolidJS
S
SolidJS
โข
3y ago
โข
5 replies
codeprrr
Why is whole app unmounted on navigation?
Please take a look at this
:
https://codesandbox.io/s/solid-app-router-nested-routes-forked-8pfpfh?file=/index.js
1
. Navigate to
/login
/login
2
. Click on login button
For some reason it unmounts the whole app for a second while it
's transitioning
.
Isn
't it supposed to hold the previous state until
/
/
resources are loaded and it
's rendered
?
I mean that
's how it works if you navigate between
/
/
and
/posts
/posts
.
It looks like initiating new
createResource
createResource
while transition is ongoing
, breaks the transition
.
Any suggestions why it happens
(what
's the rule around this
) and
/or how to overcome it
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Hydration issues on navigation while hydration is ongoing
S
SolidJS / support
3y ago
Navigation error
S
SolidJS / support
13mo ago
routedata not updating on A tag navigation
S
SolidJS / support
3y ago