Skip to content

Usage with useRouteLoaderData #15

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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