SolidJSS
SolidJSโ€ข2y agoโ€ข
3 replies
Carl (klequis)

Routing: Component/UI Element not rendered

Running with the dev server, I have been having a frequent problem with routing. I think it is related to adding new routes but haven't been able to confirm that.

A demo of the problem is here: https://youtu.be/iykA-sMtf3E

I didn't realize my mouse was not being captured so here is what is happening

- Start on home routes/index.jsx
- Click other buttons (the video is laggy such that it looks like multiple buttons are active at this same time, but this is not the case).
- When returning to /index the component/ui element is not displayed. (you should see a component with the text /routes/index.jsx.
- Refresh the entire page. This results in the component/ui element being displayed.

- It is a SolidStart project.
- Due to issue #1286 I have the browser cache disabled.
- I'm using Firefox Developer Edition but the problem occurs in Chrome as well.
- Project was created yesterday using pnpm create solid

"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.3",
"@solidjs/start": "^1.0.1",
"solid-js": "^1.8.17",
"vinxi": "^0.3.11"
Was this page helpful?