ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
SolidJS
โข
2y ago
โข
22 replies
anthy
How to use preloaded data
The solid router docs do not give any example on how to use the data returned from the preload function
-
https://github.com/solidjs/solid-router?tab=readme-ov-file#preload-functions
I don
't want to use any wrappers such as cache
. In the preload function I
'm just doing a fetch call
. I access the data as a component prop
. It comes as a promise
. How do I display that data in the component
?
GitHub
GitHub - solidjs/solid-router: A universal router for Solid inspire...
A universal router for Solid inspired by Ember and React Router
- solidjs
/solid
-router
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,283
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
When to use data.loading vs <suspense>
S
SolidJS / support
3y ago
How to use `cache.set`?
S
SolidJS / support
16mo ago