T
TanStack3y ago
dirty-apricot

Can we use Route.onLoad and pass data to the Component without Loaders or Queries?

From what I can tell, you used to be able to return a value from onLoad and then retrieve the data using a hook. The old examples don't appear to work anymore. Having to introduce and manage separate Loaders and LoaderClient instances feels a bit clunky to use for basic page-load scenarios.
1 Reply
fair-rose
fair-rose3y ago
In its Current form, not likely But think about it

Did you find this page helpful?