From a5049ba79030e0ccc9245b80cca77a43a18472ac Mon Sep 17 00:00:00 2001 From: freezeX <39030019+freezeX@users.noreply.github.com> Date: Tue, 30 Sep 2025 13:35:45 -0700 Subject: [PATCH 1/2] Update native stack docs to clarify potential memory issue --- versioned_docs/version-7.x/native-stack-navigator.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-7.x/native-stack-navigator.md b/versioned_docs/version-7.x/native-stack-navigator.md index 7c1fdc2086..f873ce7fd7 100755 --- a/versioned_docs/version-7.x/native-stack-navigator.md +++ b/versioned_docs/version-7.x/native-stack-navigator.md @@ -16,7 +16,11 @@ Native Stack Navigator provides a way for your app to transition between screens This navigator uses the native APIs `UINavigationController` on iOS and `Fragment` on Android so that navigation built with `createNativeStackNavigator` will behave exactly the same and have the same performance characteristics as apps built natively on top of those APIs. It also offers basic Web support using [`react-native-web`](https://github.com/necolas/react-native-web). -One thing to keep in mind is that while `@react-navigation/native-stack` offers native performance and exposes native features such as large title on iOS etc., it may not be as customizable as [`@react-navigation/stack`](stack-navigator.md) depending on your needs. So if you need more customization than what's possible in this navigator, consider using `@react-navigation/stack` instead - which is a more customizable JavaScript based implementation. +A few things to keep in mind: +* While `@react-navigation/native-stack` offers native performance and exposes native features such as large title on iOS etc., it may not be as customizable as [`@react-navigation/stack`](stack-navigator.md) depending on your needs. +* While `@react-navigation/stack` renders only views that are visible, `@react-navigation/native-stack` will require all views to be kept in memory regardless of visibility. In particular, this is important if your stack model allows the user to place a new screen on top of the stack infinitely. This may lead to out-of-memory issues. + +So if you need more customization than what's possible in this navigator, or if memory becomes a concern, consider using `@react-navigation/stack` instead - which is a more customizable JavaScript based implementation. ## Installation From 6ae2c75c551c95fab4bc47def34ee6f34dd95934 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 30 Sep 2025 20:38:39 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- src/data/sponsors.js | 100 ++++++++++-------- .../version-7.x/native-stack-navigator.md | 7 +- 2 files changed, 60 insertions(+), 47 deletions(-) diff --git a/src/data/sponsors.js b/src/data/sponsors.js index 7d69054298..cf648c2886 100644 --- a/src/data/sponsors.js +++ b/src/data/sponsors.js @@ -1,72 +1,84 @@ export default [ { - "avatarUrl": "https://avatars.githubusercontent.com/u/360412?u=15e7b90eb91a3d2b410f7f47461862cb793398ff&v=4", - "username": "jyc", - "name": null + avatarUrl: + 'https://avatars.githubusercontent.com/u/360412?u=15e7b90eb91a3d2b410f7f47461862cb793398ff&v=4', + username: 'jyc', + name: null, }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/1257695?u=e142a0ae6314aa8b462e664db429d926b31bf978&v=4", - "username": "karszawa", - "name": "Hiroaki KARASAWA" + avatarUrl: + 'https://avatars.githubusercontent.com/u/1257695?u=e142a0ae6314aa8b462e664db429d926b31bf978&v=4', + username: 'karszawa', + name: 'Hiroaki KARASAWA', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/1629785?u=f91613c118bb1fcf442a71008dff1cd5f9b30411&v=4", - "username": "JonnyBurger", - "name": "Jonny Burger" + avatarUrl: + 'https://avatars.githubusercontent.com/u/1629785?u=f91613c118bb1fcf442a71008dff1cd5f9b30411&v=4', + username: 'JonnyBurger', + name: 'Jonny Burger', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/2443340?v=4", - "username": "toyokumo", - "name": "TOYOKUMO" + avatarUrl: 'https://avatars.githubusercontent.com/u/2443340?v=4', + username: 'toyokumo', + name: 'TOYOKUMO', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/4328772?u=c4e0fd72bd7cdb3751166c8ade8ef253e6f5ba67&v=4", - "username": "itsrifat", - "name": "Moinul Hossain" + avatarUrl: + 'https://avatars.githubusercontent.com/u/4328772?u=c4e0fd72bd7cdb3751166c8ade8ef253e6f5ba67&v=4', + username: 'itsrifat', + name: 'Moinul Hossain', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/6936373?u=4edd14e6636c45d10ac6a3eecb4b3ffa6cc2bf5c&v=4", - "username": "Naturalclar", - "name": "Jesse Katsumata" + avatarUrl: + 'https://avatars.githubusercontent.com/u/6936373?u=4edd14e6636c45d10ac6a3eecb4b3ffa6cc2bf5c&v=4', + username: 'Naturalclar', + name: 'Jesse Katsumata', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/7029942?u=5eb1fed31f05fe97bcb07227268165c4028cc662&v=4", - "username": "radko93", - "name": "Radek Czemerys" + avatarUrl: + 'https://avatars.githubusercontent.com/u/7029942?u=5eb1fed31f05fe97bcb07227268165c4028cc662&v=4', + username: 'radko93', + name: 'Radek Czemerys', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/7910545?u=95ae2c2a40b5f6f63f05fce29ee7c01622019c76&v=4", - "username": "UdaySravanK", - "name": "Uday Sravan K" + avatarUrl: + 'https://avatars.githubusercontent.com/u/7910545?u=95ae2c2a40b5f6f63f05fce29ee7c01622019c76&v=4', + username: 'UdaySravanK', + name: 'Uday Sravan K', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/9664363?u=46ba6d5fbd29729df2950b845c9ca2cd085a1c2b&v=4", - "username": "EvanBacon", - "name": "Evan Bacon" + avatarUrl: + 'https://avatars.githubusercontent.com/u/9664363?u=46ba6d5fbd29729df2950b845c9ca2cd085a1c2b&v=4', + username: 'EvanBacon', + name: 'Evan Bacon', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/12868063?u=c6afaa685373053ab058c7899e2afe806920b038&v=4", - "username": "monkey0722", - "name": "Taku Kobachi" + avatarUrl: + 'https://avatars.githubusercontent.com/u/12868063?u=c6afaa685373053ab058c7899e2afe806920b038&v=4', + username: 'monkey0722', + name: 'Taku Kobachi', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/15199031?u=5a82dcb32237282ff576c0446567a1e2fe49b868&v=4", - "username": "mrousavy", - "name": "Marc Rousavy" + avatarUrl: + 'https://avatars.githubusercontent.com/u/15199031?u=5a82dcb32237282ff576c0446567a1e2fe49b868&v=4', + username: 'mrousavy', + name: 'Marc Rousavy', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/23122214?u=7b3231a177e5d661d55b2cee88ea69e1713eb695&v=4", - "username": "sayurimizuguchi", - "name": "Sayuri Mizuguchi" + avatarUrl: + 'https://avatars.githubusercontent.com/u/23122214?u=7b3231a177e5d661d55b2cee88ea69e1713eb695&v=4', + username: 'sayurimizuguchi', + name: 'Sayuri Mizuguchi', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/79333934?u=d18e4c6a4e063534d6fd7e77e0d51c367c91cfa0&v=4", - "username": "finanzguru", - "name": "Finanzguru" + avatarUrl: + 'https://avatars.githubusercontent.com/u/79333934?u=d18e4c6a4e063534d6fd7e77e0d51c367c91cfa0&v=4', + username: 'finanzguru', + name: 'Finanzguru', }, { - "avatarUrl": "https://avatars.githubusercontent.com/u/140319444?v=4", - "username": "jupli-apps", - "name": "Jupli" - } -] \ No newline at end of file + avatarUrl: 'https://avatars.githubusercontent.com/u/140319444?v=4', + username: 'jupli-apps', + name: 'Jupli', + }, +]; diff --git a/versioned_docs/version-7.x/native-stack-navigator.md b/versioned_docs/version-7.x/native-stack-navigator.md index f873ce7fd7..12850e3929 100755 --- a/versioned_docs/version-7.x/native-stack-navigator.md +++ b/versioned_docs/version-7.x/native-stack-navigator.md @@ -16,9 +16,10 @@ Native Stack Navigator provides a way for your app to transition between screens This navigator uses the native APIs `UINavigationController` on iOS and `Fragment` on Android so that navigation built with `createNativeStackNavigator` will behave exactly the same and have the same performance characteristics as apps built natively on top of those APIs. It also offers basic Web support using [`react-native-web`](https://github.com/necolas/react-native-web). -A few things to keep in mind: -* While `@react-navigation/native-stack` offers native performance and exposes native features such as large title on iOS etc., it may not be as customizable as [`@react-navigation/stack`](stack-navigator.md) depending on your needs. -* While `@react-navigation/stack` renders only views that are visible, `@react-navigation/native-stack` will require all views to be kept in memory regardless of visibility. In particular, this is important if your stack model allows the user to place a new screen on top of the stack infinitely. This may lead to out-of-memory issues. +A few things to keep in mind: + +- While `@react-navigation/native-stack` offers native performance and exposes native features such as large title on iOS etc., it may not be as customizable as [`@react-navigation/stack`](stack-navigator.md) depending on your needs. +- While `@react-navigation/stack` renders only views that are visible, `@react-navigation/native-stack` will require all views to be kept in memory regardless of visibility. In particular, this is important if your stack model allows the user to place a new screen on top of the stack infinitely. This may lead to out-of-memory issues. So if you need more customization than what's possible in this navigator, or if memory becomes a concern, consider using `@react-navigation/stack` instead - which is a more customizable JavaScript based implementation.