Skip to content

Usage with useRouteLoaderData #15

@Ultimarii-sushant

Description

@Ultimarii-sushant

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!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions