Ticket(s) / Related Merge Requests
Summary of Changes
- Updated react-query to v4
- Implemented react-query support in the app
- Created a custom hook to query feeds with token-based pagination
- Fixed notifications refresh when pressing the tab button again
- Added a prefetch of the notifications when the app starts
- Added a prefetch of the notification's extra tabs when the user opens the notification screen
- Added support to fetch/refresh on focus to the useApiFetch hook
Testing Considerations
- Log in
- Open the notifications
- The data should be prefetched and then updated when the screen is opened the first time
Regression Scope
It should affect only the notifications screen
Platform Affected (web, mobile, etc)
both
Developer Testing Completed
iOS sim
Screenshots
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Edited by Martin Santangelo