github-community-projects / github-community-projects/private-mirrors
Refactor hooks to use React Query instead of useEffect + setState pattern
Open
maintenance
- Dominant language
- TypeScript
- Stars
- 196
- Forks
- 41
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 4
Description
### Is your feature request related to a problem?
After upgrading to Next.js 16 and ESLint 9 in https://github.com/github-community-projects/private-mirrors/pull/409, the lint rule `react-hooks/set-state-in-effect` fails due to existing code patterns.
### Describe the solution you'd like
Refactor the code to meet the expected implementation pattern, and then re-enable the lint rule `react-hooks/set-state-in-effect`
### Describe alternatives you've considered
Keep existing code as-is, and risk bugs or issues.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.