S
SolidJS5mo ago
Yannick

Should you still use the routeData function?

The docs got removed for the routeData functions. Does it mean this feature is deprecated or will they be back in the futur? https://start.solidjs.com/api/useRouteData
SolidStart Beta Documentation
SolidStart Beta Documentation
Early release documentation and resources for SolidStart Beta
No description
2 Replies
Brendonovich
Brendonovich5mo ago
routeData is gone in favour of route load functions that are part of @solidjs/router. https://github.com/solidjs/solid-router?tab=readme-ov-file#load-functions The SS docs show how to use it with filesystem routing https://start.solidjs.com/core-concepts/data-loading
Yannick
Yannick5mo ago
Ty