Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SWR and useRequest hook #24

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Add SWR and useRequest hook #24

wants to merge 14 commits into from

Conversation

qafui
Copy link
Collaborator

@qafui qafui commented Jul 7, 2024

Description

This PR consolidates data fetching and error handling with the SWR library.

It allows for increased focus on implementing components without kitting out API fetchers each time. In addition, contributors will more easily implement loading, loaded and error states for each component with a uniform pattern that minimizes code duplication.

GitHub Issue: [Closes|Fixes|Resolves] #your GitHub issue number here

Changes

  • ...
  • ...
  • ...

Screenshots / Videos Showing UI Changes (if applicable)

Testing Strategy

describe how you or someone else can test and verify the changes

Concerns

describe any concerns that might be worth mentioning or discussing

@jhodapp jhodapp added the enhancement Improves existing functionality or feature label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves existing functionality or feature
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants