Optimize the settings page #135

Closed
opened 2022-12-22 04:18:57 +00:00 by brandon.presley · 1 comment

I have spent a long time trying to make the Settings page perform better. I figure it's to do with my code but perhaps it is an issue with React Native itself. The switch toggles don't perform fast enough to use the animations that come with React Native Paper. Also the dropdown changes feel laggy on my device (not my emulators though).

I have spent a long time trying to make the Settings page perform better. I figure it's to do with my code but perhaps it is an issue with React Native itself. The switch toggles don't perform fast enough to use the animations that come with React Native Paper. Also the dropdown changes feel laggy on my device (not my emulators though).
brandon.presley added the
enhancement
help wanted
labels 2022-12-22 04:18:57 +00:00
Author
Owner

After 777eddf943 the speed seems fast enough to show animations, but only on first navigate.
Steps to reproduce:

  1. Load the app
  2. Navigate to settings
  3. See animations are working
  4. Navigate back to home page
  5. Navigate back to Settings
  6. See animations are not working again
After https://gitea.presley.nz/brandon.presley/Massive/commit/777eddf943b70992f876b85fc0a8a4472b854425 the speed seems fast enough to show animations, but only on first navigate. Steps to reproduce: 1. Load the app 2. Navigate to settings 3. See animations are working 4. Navigate back to home page 5. Navigate back to Settings 6. See animations are not working again
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: brandon.presley/Massive#135
No description provided.