devsoc-unsw / devsoc-unsw/notangles

Friends React Query

Open
#1,088 0 comments 0 reactions 1 assignee Claimed by @lfzlim View on GitHub
Dominant language
TypeScript
Stars
79
Forks
9
PR merge metrics
No merged PRs in 30d

Description

## **Problem:**
- Rerendering for all components when friends data changes, unnecessary updates to unrelated components
## **To implement:**
- Use React Query to isolate friends data with ['friends'] queryKey
- Implement proper query invalidation so only friends-related components re-render on updates
- Mutexing to prevent race conditions when multiple friend operations happen simultaneously

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.