bcgov / nr-forests-access-management

Authorization solution for BC natural resource sector
Apache License 2.0
8 stars 2 forks source link

Refactor Components to Use TanStack Query for Data Fetching #1612

Open craigyu opened 3 weeks ago

craigyu commented 3 weeks ago

Description:

Refactor all components that are currently fetching data directly, to use TanStack Query if they are not already. The current approach involves manual state management and inconsistent error handling, making it challenging to maintain and test.

Components to Refactor

The following components currently have direct data-fetching logic and should be refactored to use TanStack Query for a more consistent and efficient approach to managing server state:

Specific Improvements

Acceptance Criteria

craigyu commented 5 days ago

User Permissions History -> Permissions History