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

2 messages · Page 1 of 1 (latest)

jolly drum
#

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.

gusty flower
#

In its Current form, not likely