Root:3000
Root:3000
SSolidJS
Created by Root:3000 on 6/27/2024 in #support
How do i host static vinxi build with nginx so the routing works, is there any guide?
Official docs are pretty much WIP.
7 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
trying to achieve example.com/products/1/settings
|--routes/ // example.com
|--products/
|--[id].tsx // example.com/products/1
|--[id]/
|--settings.tsx // example.com/products/1/settings
|--routes/ // example.com
|--products/
|--[id].tsx // example.com/products/1
|--[id]/
|--settings.tsx // example.com/products/1/settings
10 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
<Show
when={Object.keys(fetchBal()["subscription"]).length === 0 }>
...
</Show>
<Show
when={Object.keys(fetchBal()["subscription"]).length === 0 }>
...
</Show>
console
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'subscription')
at get when [as when] (Herostats.jsx:219:43)
at Show.createMemo.equals [as fn] (dev.js:1408:44)
at runComputation (dev.js:696:22)
at updateComputation (dev.js:679:3)
at createMemo (dev.js:238:10)
at Show (dev.js:1408:21)
at dev.js:516:12
at untrack (dev.js:421:12)
at Object.fn (dev.js:512:37)
at runComputation (dev.js:696:22)
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'subscription')
at get when [as when] (Herostats.jsx:219:43)
at Show.createMemo.equals [as fn] (dev.js:1408:44)
at runComputation (dev.js:696:22)
at updateComputation (dev.js:679:3)
at createMemo (dev.js:238:10)
at Show (dev.js:1408:21)
at dev.js:516:12
at untrack (dev.js:421:12)
at Object.fn (dev.js:512:37)
at runComputation (dev.js:696:22)
36 replies