-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Description
Describe the bug
I followed the example of the doc. But the rooter does not work. I let you see the example on stackblitz. I have the following message in my console in the browser:
Uncaught TypeError: Comp is not a function
at chunk-BMOKTV46.js?v=c0f3a5c4:560:12
at untrack (chunk-BMOKTV46.js?v=c0f3a5c4:452:12)
at Object.fn (chunk-BMOKTV46.js?v=c0f3a5c4:556:37)
at runComputation (chunk-BMOKTV46.js?v=c0f3a5c4:753:22)
at updateComputation (chunk-BMOKTV46.js?v=c0f3a5c4:738:3)
at devComponent (chunk-BMOKTV46.js?v=c0f3a5c4:566:3)
at createComponent (chunk-BMOKTV46.js?v=c0f3a5c4:1326:10)
at shared.element.component.element.element [as outlet] (routing.js:52:21)
at get children [as children] (components.jsx:57:68)
at Object.fn (chunk-BMOKTV46.js?v=c0f3a5c4:1086:35)
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-bptwek?file=src/App.jsx
Steps to Reproduce the Bug or Issue
- Create a rooter like the doc in jsx
- See the error in console
Expected behavior
- A router with routes, without error in console
Screenshots or Videos
No response
Platform
- OS: [Linux]
- Browser: [Brave]
- Version: [last]
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels