Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Change layout of fetch functions #185

Description

@GammaMicrowave
  • Create a API folder in the route directory

  • abstract all the fetching functions into this API folder where each folder represent a route.

  • if it is nested inside a route then add the fetching function inside a folder.

  • Now use that function and fetch queries using useQuery instead of normal fetch functions.

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