dion
dion
Explore posts from servers
SSolidJS
Created by dion on 11/4/2023 in #support
hydration mismatch when wrapping component in a suspense
Hmmm, i think i might have caused a refetch because i click dismiss the error, however, do you know what might have caused the hydration error? @Toka
3 replies
SSolidJS
Created by dion on 11/4/2023 in #support
hydration mismatch when wrapping component in a suspense
bump
3 replies
SSolidJS
Created by dion on 11/4/2023 in #support
getting route parameters severside
Thanks, i'm using the first option u provided, and it works!
2 replies
SSolidJS
Created by dion on 11/2/2023 in #support
whats the use case of routeData and useRouteData
Thanks for the response! That gave me some insights! On that note, i’ve got some follow up questions: - How do we run useRouteData on the component level? Basically I break down my components that i use from a page into another folder, is it as simple as defining all the queries at the page level, then doing an import of the routeData in the component level, and selecting the resource which i need? - for createSeverData$, when there’s new data in the system, how do i trigger refetching of the data?
2 replies
SSolidJS
Created by dion on 11/1/2023 in #support
Request data not consistent between createServerData$ and API route
Okay, it seems that the reason for this was because the client headers were not being forwarded over to the trpc endpoint if im understanding right. If that's the case, is there a way to forward headers in my context?
2 replies
SSolidJS
Created by dion on 10/31/2023 in #support
Unable to find modules
Damn, you’re absolutely right, how could i have missed this. Thank you so much.
3 replies