As of now, the following API calls use fetch API to make calls to the backend server:
GET /issues
GET /tasks
POST /tasks
PATCH /tasks/:id
Local state is used to maintain the changes in the app.
Proposed Solution
The above mentioned API calls should be migrated to RTK query and achieved using useQuery and useMutation hooks, hence maintained using global state along with cache.
Problem Statement
fetch
API to make calls to the backend server:GET /issues
GET /tasks
POST /tasks
PATCH /tasks/:id
Proposed Solution
useQuery
anduseMutation
hooks, hence maintained using global state along with cache.This issue closes #141 and #149