-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrates useInfiniteQuery for data fetching and resolves Infinite L…
…oad issue in Notes. (#9190) * Fix Inifinite Load issue in notes * Add useInfiniteQWuery Hook * Fix useInfiniteQuery hook on thread change * Fix Notes duplication by hashMap * Added hashmap in hook itself * Implemented useInfiniteQuery hook * Remove Comments * Remove Unnecessary Export * Add Requested Changes * simplify generic types * Simplified useInfiniteQuery Implementation * Removed Unnecessary types and state * Remove unnecessary state updates * Mandate duplicate function * Fix Note add issue on side notes * Remove reload state * Fix Message Add * Fix Notes Add Issue * Fix Notes Add Issue * Move over to useInfiniteQuery * Fix Direct Use of inbuilt hook * Fix Deduplication of notes * Add Support of useMutation * Add Changes * Add Util hook for reusability * Fix type of thread * Remove error throw line * remove console * Fix Mutation function * Move towards using callAppi * Add Requested Changes * Add Requested Changes * Fix Test According to changes * Add Requested Changes * Re-run Test Suit * Remove queryParam * Fix Path Name * Fix queryKey * Re-run Test Suit --------- Co-authored-by: rithviknishad <[email protected]>
- Loading branch information
1 parent
1b6fa7a
commit 94585fd
Showing
11 changed files
with
242 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.