Skip to content

Refactor hooks to use React Query instead of useEffect + setState pattern #410

@wrslatz

Description

@wrslatz

Is your feature request related to a problem?

After upgrading to Next.js 16 and ESLint 9 in #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions