IEEE-RVCE / IEEE-RVCE/IEEE-RVCE.github.io
Fetching data usingReact Query
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 3
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未指定檔案、測試或進入點。首先盤點用於取得後端資料的 useEffect hooks 和 state 更新,然後定義遷移至 React Query 的範圍,以及如何評估 fetching 狀態和重新渲染行為;完成的標準是,約定的資料取得路徑使用新機制,且不存在已回報的效能問題。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- frontend, performance
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100