blazekids
blazekids
SSolidJS
Created by blazekids on 12/23/2024 in #support
SolidStart: serialization error when there is a default value in `createSignal`
This is a neat to solve the issue. Thank you for sharing this!
12 replies
SSolidJS
Created by blazekids on 12/23/2024 in #support
SolidStart: serialization error when there is a default value in `createSignal`
If this is the case, is the convention to always supply the hostname when data fetching even though it's same server? Is there a pattern on how to inject the domain in SolidStart?
12 replies
SSolidJS
Created by blazekids on 12/23/2024 in #support
SolidStart: serialization error when there is a default value in `createSignal`
Thank you! The hostname solves the serialization issues. So when the server executes the first call, there is no concept of "relative" path of the hostname, so it doesn't know where to call. Therefore, fails the prerender part of the component. This is like the "cookie" issue in the video, sometimes it's document.cookie, sometimes it's request.cookie.
12 replies