Closed parasharrajat closed 3 years ago
Triggered auto assignment to @trjExpensify (AutoAssignerTriage
), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Triggered auto assignment to @MonilBhavsar (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
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.
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.
react-native-reanimated is already in version 2.1.0 on master
That is why I found this warning in #4014 hard to explain...
@jsamr But we need to set up it in the Native files so that it can be used.
I have prepared all the changes just need a :green_circle: to create a PR. But Marc has a good point. It is only going to affect the slide animation of the Drawer which currently works just fine.
@parasharrajat Sorry you are right, I didn't mean to be presumptuous! I had seen the babel plugin set up and had assumed it was already configured:
@marcaaron
I had a great experience with react-native-reanimated@^2
with expo. JSI showing its amazing potential, really beautiful, performant animations in the UI thread! So this change will most certainly not address any of the performance issue discussed on Slack yesterday. It has the potential to make any non-native animation from react-navigation
smoother because it being run on the UI thread (vs JS thread in v1). react-navigation
drawer component peer-depends on V1+
I guess the best course of action is chose between v2 and v1 and stick with it, instead of using v2 in what seems to be a legacy or fallback mode and thus triggering this warning.
Sounds like this is worthwhile to do so I think we should move forward here. I don't expect this to solve any major issues, but does sound like a good direction to move in and ultimately iOS and Android should be using the same features. To clarify, will some change be required to react-navigation
drawer as well?
Triggered auto assignment to @NicMendonca (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Conversation in Slack ongoing, but excited to see this change.
To clarify, will some change be required to the react-navigation drawer as well?
None.
@parasharrajat created a job for this in Upwork - https://www.upwork.com/jobs/~01583ab581297f02f0
Triggered auto assignment to @roryabraham (Exported
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Okay, looks like there's not a ton for me to review here in terms of the proposal @parasharrajat, see you in the PR!
I think this can be closed and the Help Wanted label can be remvoed as well.
@NicMendonca I think this can be closed and the Help Wanted label can be removed as well.
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 https://github.com/Expensify/Expensify.cash/issues/2180#issuecomment-861909818.
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 :white_check_mark: iOS :white_check_mark: Android :white_check_mark: Desktop App :white_check_mark: Mobile Web :white_check_mark:
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