Skip to content

[Performance] Configure Reanimated to Version >2 for FPS boost #3972

Closed

Description

@parasharrajat

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


We upgraded to React-navigation v6 but we are still lacking few gains from it. It supports Reanimated v2 which is proposed to be better and performant in every way. If we are getting smooth animations from it, then I believe that we should upgrade.

Expected Result:

Existing animation should not break.

Actual Result:

We see a warning for it #2180 (comment).
image

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
NONE

Platform:

Where is this issue occurring?

Web ✅
iOS ✅
Android ✅
Desktop App ✅
Mobile Web ✅

Version Number: latest
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on Upwork

Activity

  1. added
    AutoAssignerTriage
    on Jul 10, 2021
  2. MelvinBot commented on Jul 10, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @trjExpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  3. removed
    AutoAssignerTriage
    on Jul 10, 2021
  4. MelvinBot commented on Jul 13, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @MonilBhavsar (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  5. trjExpensify commented on Jul 13, 2021

    @trjExpensify
    Contributor

    Going to hand this over to someone in engineering to explore further, @parasharrajat. If there has been a wider discussion about this update somewhere in Slack, feel free to include it in the issue.

  6. marcaaron commented on Jul 14, 2021

    @marcaaron
    Contributor

    which is proposed to be better and performant in every way. If we are getting smooth animations from it, then I believe that we should upgrade

    Sounds good. But before moving forward with the change I think we should do some benchmarks or produce evidence that performance will actually improved by this change. There are a million and one things we can do to improve performance. Figuring out which ones are worth doing is the challenge.

  7. changed the title [-]Update Reanimated to Version >2 for FPS boost[/-] [+][Performance] Update Reanimated to Version >2 for FPS boost[/+] on Jul 14, 2021
  8. jsamr commented on Jul 14, 2021

    @jsamr
    Contributor

    react-native-reanimated is already in version 2.1.0 on master

    https://github.com/Expensify/Expensify.cash/blob/bb5ae3e99ca3ea85a0dc7505429981f5756699e0/package.json#L89

    That is why I found this warning in #4014 hard to explain...

  9. parasharrajat commented on Jul 14, 2021

    @parasharrajat
    MemberAuthor

    @jsamr But we need to set up it in the Native files so that it can be used.

    1. For Android, mainApplication.java (Instructions https://docs.swmansion.com/react-native-reanimated/docs/installation#android)
    2. Web requires webpack plugin.
    3. IOS just works with pod install.
  10. 8 remaining items

  11. changed the title [-][Performance] Update Reanimated to Version >2 for FPS boost[/-] [+][Performance] Configure Reanimated to Version >2 for FPS boost[/+] on Jul 15, 2021
  12. NicMendonca commented on Jul 15, 2021

    @NicMendonca
    Contributor
  13. added
    Help Wanted
    on Jul 15, 2021
  14. MelvinBot commented on Jul 15, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @roryabraham (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  15. roryabraham commented on Jul 15, 2021

    @roryabraham
    Contributor

    Okay, looks like there's not a ton for me to review here in terms of the proposal @parasharrajat, see you in the PR!

  16. added
    Weekly
    and removed
    Daily
    on Jul 19, 2021
  17. parasharrajat commented on Jul 28, 2021

    @parasharrajat
    MemberAuthor

    I think this can be closed and the Help Wanted label can be remvoed as well.

  18. parasharrajat commented on Jul 29, 2021

    @parasharrajat
    MemberAuthor

    @NicMendonca I think this can be closed and the Help Wanted label can be removed as well.

  19. removed
    Help Wanted
    on Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EngineeringExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions