Routes are being duplicated when HMR is on

It seems whenever the file updates the route is not actually refreshed and it just adds the updated content to the page. Disabling HMR solves this issue as it does a full reload.
X
xou267d ago
Before
X
xou267d ago
X
xou267d ago
After
X
xou267d ago
X
xou267d ago
How could solve I this?
Want results from more Discord servers?
Add your server
More Posts
Solidstart Astro or ViteCreated a SolidStart project and saw that it was using Astro. Looking at the docs it says the projecsibling componentsI've read the docs, and I just can't wrap my head around how to trigger a function in a sibling comptesting createRouteAction$ using vitestHi all! How do I go about testing createServerAction$ in vitest? I'm basically writing ``` export fucreateResource returns undefinedHello, goodnight everyone. Im having a problem using createResource. This function returns me undefiSuspense doesn't seem to work with ContextProviderhey, so recently I noticed, If I use `createResource(fetch)` and then put `<Suspense fallback={<PlLayout for layout groupTo make a layout for a route you need to make a .tsx file with the same name as the parent folder. BHow to deploy an solid js app myselfHi all, good morning. Does anyone have a resource (blog post, tutorial, vídeo, etc) teaching how to SVG A elements not created correctlyWhen using an <a> element with <Show> or <For> inside an inline SVG element, we get the namespace wrHow to add events for scrolling like React? (with solid-qurey)Hi, I've only been dealing with React projects and I'm practicing Solid-js. `createResource` offerWhat's the best way to create multiple layouts that only some routes use?I need to have multiple layouts. I'd like some pages to use different layouts, rather than a single Looking for best way to re-validate route data after some arbitrary amount of time.Hi all, good morning/afternoon/night. So, i have a routed component with nested routes that share a How to stop VS Code from erroring with `Cannot find name 'React'.ts(2304)`?VS Code is complaining with `Cannot find name 'React'.ts(2304)` but I am not using React at all. I h