[NO QA] Add docs describing react strict mode in detail#48165
[NO QA] Add docs describing react strict mode in detail#48165mountiny merged 4 commits intoExpensify:mainfrom
Conversation
|
@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
mountiny
left a comment
There was a problem hiding this comment.
Changes look good to me
contributingGuides/STRICT_MODE.md
Outdated
| - [What is Concurrent React](https://react.dev/blog/2022/03/29/react-v18#what-is-concurrent-react) | ||
|
|
||
| ## StrictMode | ||
| Because the previously described react mode could potentially introduce new bugs in the code (related to parallel rendering) we are also using `<StrictMode />`. |
There was a problem hiding this comment.
| Because the previously described react mode could potentially introduce new bugs in the code (related to parallel rendering) we are also using `<StrictMode />`. | |
| Because the previously described concurrent mode could potentially introduce new bugs in the code (related to parallel rendering) we are using `<StrictMode />`. |
(to me as a first time person reading this, reading react mode was slightly confusing, concurrent seemed more obvious. This is very subjective, I just mean it as suggestion :) )
There was a problem hiding this comment.
good suggestion, updated 👍 suggestions from first time readers are especially useful, since I have already worked on this and might be biased ;)
|
amazing that almost all checks failed on a PR that modifies 1 markdown file, and renames 1 property 😅 |
|
pushed merge with main to trigger fresh checks 🤞 |
|
I think this is ready to merge |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.28-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.28-3 🚀
|
Details
Fixed Issues
$ #48158
PROPOSAL:
Tests
N/A
Offline tests
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop