Jeremy
Jeremy
Explore posts from servers
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
I updated to solid-js 1.9.5 and the issue went away? Super bizarre. I've noticed quite a few dev vs prod behavior mismatches over the last year or two of using solid but this was def the weirdest. Thank you Reeeee for your help, I really appreciate it.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
This of course works normally in dev mode.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
Stripped everything down to just a couple blank pages & am still experiencing weird behavior although the ctx error is gone. (Route content not updating when clicking on A links, though the URL bar does). Full reload is required to show the correct route content.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
It's possible, I'll look through each of them.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
Clarifying - context works on fresh load but not when navigating to a page.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
Other routes also display the router ctx error as well as errors thrown in my own code about not receiving context..
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
Does not work either way. This appears to be some greater issue with context not working.
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
Could be, let me try w/o
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
No description
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
No description
22 replies
SSolidJS
Created by Jeremy on 3/18/2025 in #support
Error in production only: <A> and 'use' router primitives can be only used inside a Route.
No description
22 replies
SSolidJS
Created by Hussein on 8/28/2024 in #support
why solidstart production build contains many references to source code?
Noticed this too. Errors from 'use server'; contain the path of the application on the host server. Not really ideal.
5 replies