dion
Explore posts from serverswhats 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