fix: remove unnecessary dependency - #29251
Conversation
|
I'm not sure why performance tests failed |
|
Will you take a look at the PR? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-10-10.at.8.33.35.PM.movMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
@jasperhuangg looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
fix: remove unnecessary dependency (cherry picked from commit db45b3e)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 1.3.80-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.80-3 🚀
|
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.3.83-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.83-11 🚀
|
1 similar comment
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.83-11 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.83-11 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.83-11 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|

Details
Remove unnecessary dependecy to prevent double call of useEffect callback
Fixed Issues
$ #29159
PROPOSAL: #29159 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
29159_android_native.mp4
Android: mWeb Chrome
29159_android_chrome.mp4
iOS: Native
29159_ios_native.mp4
iOS: mWeb Safari
29159_ios_safari.mp4
MacOS: Chrome / Safari
29159_mac_chrome.mp4
MacOS: Desktop
29159_mac_desktop.mp4