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
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 mechanismI 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