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
{{ message }}
Repository navigation
[HOLD for payment 2024-09-10] [$1000] Upgrade to RN 0.75 #37374
Awaiting PaymentAuto-added when associated PR is deployed to productionExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewTaskWeeklyKSv2
There are some new arch problems that should be fixed in RN 0.74+. So far that's the only thing I'm aware of in 0.74+ that we'll need, but it takes a long time to upgrade. It's not necessarily a blocker but unless we upgrade we'll have to use patches.
Solution
Let's get the ball rolling on the RN 0.74 upgrade. If there are issues in the RC we should report them to Meta.
wrote some best practices on RN upgrades earlier today:
Look at the release notes to understand what changed.
Look at any patches that we've got, find the upstream PR associated with the patch by looking at the PR that introduced the patch: there should be a link to an upstream PR for the patch in the PR description. Evaluate if that patch is still needed or can be removed. If it's still needed, coordinate with the author of the patch to figure out how it needs to be applied to the new version. Have them update their upstream PR if needed. Also consider alternatives if Meta doesn't seem to be actively reviewing the PR. Open a conversation in slack if you're not sure.
If there are any deprecations, investigate what's needed to remove our usage of deprecated code. It doesn't necessarily need to be a blocker, but we want to try to remove uses of deprecated APIs ASAP.
Use flame, an AI-powered CLI made specifically for upgrading React Native. It uses react-native-upgrade-helper under the hood and leverages GPT-4 to apply the diff more intelligently. Very cool tool, you can see a demo here.
Use 2 C+ testers instead of just 1
Create an AdHoc build and have Applause run a full regression suite
Create a GitHub Project for the upgrade so that if any issues are identified, they can be added to the project and tracked effectively, rather than just being comments in the PR. That way we can track what issues need to be resolved and re-tested on staging.
Tried upgrading with flame-ai but as its still in experimental stage its not really working as expected with 0.74, opened an issue with one of the problems connected with that.
Manually applied changes from upgrade-helper - I will create draft PR and will be adding any progress there
I will go through all of the patches and list them to make sure if upgrade of rn version is affecting those
Created an issue in react-native-quick-sqlite as the same error is visible while building with fresh rn app. In meantime working on a fix for that problem.
Awaiting PaymentAuto-added when associated PR is deployed to productionExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewTaskWeeklyKSv2
Activity
MrRefactor commentedon Feb 29, 2024
Hey, I would like to work on this issue!
roryabraham commentedon Feb 29, 2024
@MrRefactor I'd strongly recommend you to try https://github.com/infinitered/flame. There's a talk from Jamon it's creator here. I hope it will help streamline the upgrade process for you.
MrRefactor commentedon Mar 1, 2024
@roryabraham Sure! I will get gpt-4 and try upgrading with that tool!
roryabraham commentedon Mar 1, 2024
wrote some best practices on RN upgrades earlier today:
MrRefactor commentedon Mar 4, 2024
Update:
MrRefactor commentedon Mar 8, 2024
Update:
react-native-live-markdownon androidCC: @roryabraham @mountiny
MrRefactor commentedon Mar 11, 2024
Update:
Created an issue in react-native-quick-sqlite as the same error is visible while building with fresh rn app. In meantime working on a fix for that problem.
roryabraham commentedon Mar 11, 2024
Posted in the Margelo room
MrRefactor commentedon Mar 12, 2024
Update:
Created an issue in
@expensify/react-native-live-markdownas the same error is visible while building with fresh rn app for android.213 remaining items
shubham1206agra commentedon Sep 10, 2024
@dylanexpensify Offer accepted
dylanexpensify commentedon Sep 10, 2024
Paid!