Open pac-guerreiro opened 5 hours ago
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.
@mountiny can you make this issue internal? @fabioh8010 and I are working on it
You tagged the wrong person @pac-guerreiro , it's @mountiny 😄
Ups, sorry! 😅
Sounds good
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
What performance issue do we need to solve?
Inefficient React component rendering when onyx collection data is updated, although we're only accessing unmodified entries of the onyx collection.
Example case: https://github.com/Expensify/App/pull/49919#pullrequestreview-2346813622
What is the impact of this on end-users?
App performance can degrade with the inefficient rendering
List any benchmarks that show the severity of the issue
N/A
Proposed solution (if any)
Mimic dependency array from some React hooks, like
useEffect
, to forceuseOnyx
to fetch data if any dependency changes.Something like
useOnyx(key, options, [dependencyA])
.List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
N/A
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v9.0.62-4 Reproducible in staging?: yes Reproducible in production?: yes Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: https://github.com/Expensify/App/pull/49919#pullrequestreview-2346813622 Expensify/Expensify Issue URL: Issue reported by: Slack conversation:
View all open jobs on Upwork