Closed LiQuidProQuo closed 10 months ago
This issue is not exclusive to text only routes, but also for the case that the route returns a fragment, with top level text nodes
<>
I am top level node
<div>no problem here</div>
again problem I am at top level
</>
it is possible that solid can't properly or easily track text nodes in a top level of the fragment in the current implementation.
and this is not a top priority, but it will be nice to properly communicate to the users why things are not working as expected.
iirc this is an issue with text nodes + fragments, there's a similar issue in the SolidJS repo.
In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See https://github.com/solidjs/solid-start/pull/1139 for more details.
when the initial render of the route is a text node only navigation to a different route, will not remove the node.
https://stackblitz.com/edit/github-htdqaw
/
->/about
->/
expectations
/about
page, and force initial render on that route then navigation is correct and there is not left overs of nodes when toggling routes.