use_route_loader_data
Returns the data from the current route's loader function.
Must be called inside a component whose route has a loader defined.
Returns:
- The return value of the route's loader function, or
None.
Returns the data from the current route's loader function.
Must be called inside a component whose route has a loader defined.
Returns:
None.