-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$250] Implement Three Suggested Changes from Callstack #9427
Comments
Brought this up in eng-chat here |
After discussing this in the thread linked above, we've decided to strike number 2 from the list. |
Coming back to this issue this week. |
back soon |
One more thing that I can think of is to prevent the use of inline prop values(non-static) as much as possible.
Object literals will recreate a new object on each render and due to a change of prop value, the underlying component will rerender. |
Thanks @parasharrajat, I'll check out the impact of those suggestions 👍 |
Gonna loop back around to this |
Hoping to get to this soon. |
Hoping to get to this soon. |
C+ would you be willing to help test this PR for me? #10750 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Current assignee @Luke9389 is eligible for the Exported assigner, not assigning anyone new. |
@mananjadhav job post here: https://www.upwork.com/jobs/~0175fa858fa8779088 |
Applied @jboniface |
any update here? @Luke9389 / @mananjadhav |
I've reviewed and shared a bug with the PR. Waiting for the changes from @Luke9389. But mostly we need a RN upgrade from 0.69.0 to 0.70.0. |
Hey @jboniface & @mananjadhav, I still haven't had a cycle to come back to this. I'll be updating soon. |
I'm going to close this in favor of all the performance updates we're doing with margelo. I still haven't gotten the app to run without the format/intl dependency, and that's the only outstanding task from callstack of the original three. |
Thanks for helping test here @mananjadhav, |
I'll do it. Assigning myself now. |
Thanks! |
@mananjadhav Send you a contract offer here: https://www.upwork.com/jobs/~01967be1fa14712bf3 |
Paid via Upwork |
Whoops. Closing since this is now paid! |
Background
Callstack is vendor that we've engaged to help with app performance. They've needed to delay our engagement until September, but in the mean time gave a few tips for us that they think would be helpful.
Suggested Changes
The @react-native-community/cli dep shouldn't be added directly. It's a transitive dependency of react-native.Note:
No longer adding @react-native-community/cli directly in package.jsonBoth underscore and lodash are used. These are big libraries with the same purpose so you can pick one instead (we suggest lodash in this case)Remove Intl polyfills (@formatjs/intl*) usage, which can add up to 6MB of unicode data into the JS bundle. The Hermes version you're using supports Intl object by default, so polyfill is an unnecessary overhead
Game Plan
I'll bring these up for discussions with engineering to verify that we should proceed, and then implement the changes that we greenlight.
The text was updated successfully, but these errors were encountered: