I have a multi layout application where I fetch the data in one of the layout.
The data fetched in this layout is used with useRouteLoaderData in child components.
Since the documentation recommends using the useCachedLoaderData, is there a way similar where I can get the data similarly in useRouteLoaderData - possibly with useCachedRouteLoaderData ?
Thank you for your hard work on this package (and all the videos on YT too!).
I have a multi
layoutapplication where I fetch the data in one of the layout.The data fetched in this
layoutis used withuseRouteLoaderDatain child components.Since the documentation recommends using the
useCachedLoaderData, is there a way similar where I can get the data similarly inuseRouteLoaderData- possibly withuseCachedRouteLoaderData?Thank you for your hard work on this package (and all the videos on YT too!).