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

(SP:) Replace useAxios with useQuery on the CreateNewSubject container #3115

Open
5 tasks
SofiiaYevush opened this issue Jan 17, 2025 · 0 comments
Open
5 tasks

Comments

@SofiiaYevush
Copy link
Contributor

SofiiaYevush commented Jan 17, 2025

Description:

Replace the useAxios hook with a custom useQuery hook on the CreateNewSubject` container to improve data fetching, caching, and error handling.

Tasks:

  • Identify where useAxios is used
  • Replaces all of the instances of useAxios with useQuery
  • Update tests if necessary
  • Ensure that everything works as intended
  • make sure that isLoading or isFetching is used correctly

Pay attention to issue #3114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Project Backlog
Development

No branches or pull requests

2 participants