IEEE-RVCE / IEEE-RVCE/IEEE-RVCE.github.io

Fetching data usingReact Query

Open
#99 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

This codebase contains a lot of useEffect() and state updations for data fetching from the backend, which get triggered and result in multiple re-renders, this leads to performance issues, can we improve our data fetching mechanism

I would like to propose using ReactQuery as an alternative solution. This library can replace most of the useEffect() hooks and state updates related to data fetching and can also help to keep track of the fetching status.

Please let me know if you have any questions or concerns about this proposal.

Thanks.

FYI @MayurSChittaragi @chrisvrose @Prajwalprakash3722 @sannidhi-s-shetty

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by inventorying the useEffect hooks and state updates used for backend data fetching, then define the React Query migration scope and how fetching status and re-render behavior will be evaluated; done means the agreed data-fetching paths use the new mechanism without the reported performance issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.