You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because react scan reads from a store that eagerly tracks interactions and FPS drops, FPS drops that are considered severe can be read before it's confirmed the FPS drop is not tied to an interaction.
This is problematic since we have a higher threshold for interactions to be considered "severe" (500ms vs 200ms).
Interactions are always pushed to the store after FPS drops since we must await the performance api to get extra metadata about the interaction. This sometime causes an unintended flicker state of notification count.
The correct solution is detecting if an interaction is ongoing during the FPS drop, and ignore it while that interaction is not completed.
note: this is not easy because there are going to base cases interactions appear to start but never end because of the nature of how we track interactions
The text was updated successfully, but these errors were encountered:
Because react scan reads from a store that eagerly tracks interactions and FPS drops, FPS drops that are considered severe can be read before it's confirmed the FPS drop is not tied to an interaction.
This is problematic since we have a higher threshold for interactions to be considered "severe" (500ms vs 200ms).
Interactions are always pushed to the store after FPS drops since we must await the performance api to get extra metadata about the interaction. This sometime causes an unintended flicker state of notification count.
The correct solution is detecting if an interaction is ongoing during the FPS drop, and ignore it while that interaction is not completed.
The text was updated successfully, but these errors were encountered: