Skip to content

[docs] Performance: update outdated info#4591

Merged
Abbondanzo merged 9 commits into
react:mainfrom
jamonholmgren:patch-3
Jun 13, 2025
Merged

[docs] Performance: update outdated info#4591
Abbondanzo merged 9 commits into
react:mainfrom
jamonholmgren:patch-3

Conversation

@jamonholmgren

Copy link
Copy Markdown
Contributor

The state of the Performance document is pretty outdated; this PR takes a step toward at least fixing or removing sections that would be misleading or confusing to React Native developers on the latest versions.

Changes

  • Changed very old Navigator / NavigatorIOS references to React Navigation
  • Changed class component references to function component
  • On lists, added references to FlashList/Legend List, which are broadly used in the community
  • Removed old-school optimizations for ListView
  • Removed references to enabling shouldRasterizeIOS and renderToHardwareTextureAndroid, as these are now enabled by default
  • Removed Slow navigator transitions section, which is about the removed Navigator animations.

Minor tweaks

  • Added links to relevant other documentation
  • Added iOS and Android where appropriate
  • Added alt text
  • Minor rewording

The state of the Performance document is pretty outdated; this PR takes a step toward at least fixing or removing sections that would be misleading or confusing to React Native developers on the latest versions.
@netlify

netlify Bot commented Apr 23, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit fdfcaa0
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/684b67552f06ac00085c0c10
😎 Deploy Preview https://deploy-preview-4591--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread docs/performance.md Outdated
Comment thread docs/performance.md Outdated
- Removes part about navigation transitions
- Removes reference to ListView
@jamonholmgren

Copy link
Copy Markdown
Contributor Author

Made those changes @satya164 ! Thank you for the review/suggestions.

@Abbondanzo Abbondanzo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit on a section being removed, otherwise looks great!

Comment thread docs/performance.md
@jamonholmgren

Copy link
Copy Markdown
Contributor Author

Awesome! Updated, @Abbondanzo -- great catch. Looking forward to getting this shipped, as the current info is ... embarrassingly wrong. 😅

@Abbondanzo

Copy link
Copy Markdown
Contributor

Wonderful, thanks for updating!

@Abbondanzo Abbondanzo enabled auto-merge (squash) June 13, 2025 01:27
@Abbondanzo Abbondanzo merged commit 1c3a705 into react:main Jun 13, 2025
4 checks passed
@jamonholmgren jamonholmgren deleted the patch-3 branch June 24, 2025 07:04
coado pushed a commit to coado/react-native-website that referenced this pull request Jun 30, 2025
* [docs] Performance: update outdated info

The state of the Performance document is pretty outdated; this PR takes a step toward at least fixing or removing sections that would be misleading or confusing to React Native developers on the latest versions.

* Linter updates

* Update per @satya164 feedback

- Removes part about navigation transitions
- Removes reference to ListView

* Add note about renderToHardwareTextureAndroid back

* Additional update for `renderToHardwareTextureAndroid`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants