Skip to content

Commit a95baf2

Browse files
committed
Update broken links
1 parent 7cef56c commit a95baf2

24 files changed

Lines changed: 31 additions & 55 deletions

‎versioned_docs/version-7.x/community-navigators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This project aims to expose the native Bottom Tabs component to React Native. It
2626

2727
The library provides React Navigation integration for its Material Bottom Tabs. Material Bottom Tabs is a material-design themed tab bar on the bottom of the screen that lets you switch between different routes with animation.
2828

29-
[Documentation](https://callstack.github.io/react-native-paper/docs/guides/bottom-navigation/)
29+
[Documentation](https://oss.callstack.com/react-native-paper/docs/guides/bottom-navigation)
3030

3131
[Repository](https://github.com/callstack/react-native-paper)
3232

‎versioned_docs/version-7.x/contributing.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ yarn example start
144144

145145
### Run Tests
146146

147-
React Navigation has tests implemented in [Jest](https://facebook.github.io/jest/). To run either of these, from the React Navigation directory, run either of the following commands (after installing the `node_modules`) to run tests or type-checking.
147+
React Navigation has tests implemented in [Jest](https://jestjs.io/). To run either of these, from the React Navigation directory, run either of the following commands (after installing the `node_modules`) to run tests or type-checking.
148148

149149
```bash
150150
yarn test

‎versioned_docs/version-7.x/customizing-bottom-tabs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export default function App() {
273273
</TabItem>
274274
</ConfigTabs>
275275

276-
From UI perspective this component is ready to use, but you still need to find some way to pass down the badge count properly from somewhere else, like using [React Context](https://react.dev/reference/react/useContext), [Redux](https://redux.js.org/), [MobX](https://mobx.js.org/) or [event emitters](https://github.com/facebook/react-native/blob/master/Libraries/vendor/emitter/EventEmitter.js).
276+
From UI perspective this component is ready to use, but you still need to find some way to pass down the badge count properly from somewhere else, like using [React Context](https://react.dev/reference/react/useContext), [Redux](https://redux.js.org/), [MobX](https://mobx.js.org/) or event emitters.
277277

278278
You can also update the badge from within the screen component by using the `setOptions` method:
279279

‎versioned_docs/version-7.x/deep-linking.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To set up Android App Links in your Expo app, you need to configure your [app co
117117
}
118118
```
119119

120-
You will also need to [declare the association](https://developer.android.com/training/app-links/verify-android-applinks#web-assoc) between your website and your intent filters by hosting a Digital Asset Links JSON file.
120+
You will also need to [declare the association](https://developer.android.com/training/app-links/configure-assetlinks#declare-website) between your website and your intent filters by hosting a Digital Asset Links JSON file.
121121

122122
See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/android-app-links/) for more details.
123123

@@ -225,7 +225,7 @@ The easiest way to do this is with the `uri-scheme` package: `npx uri-scheme add
225225
If you want to add it manually, open up `SimpleApp/android/app/src/main/AndroidManifest.xml`, and make the following adjustments:
226226

227227
1. Set `launchMode` of `MainActivity` to `singleTask` in order to receive intent on existing `MainActivity` (this is the default, so you may not need to actually change anything).
228-
2. Add the new [`intent-filter`](http://developer.android.com/training/app-indexing/deep-linking.html#adding-filters) inside the `MainActivity` entry with a `VIEW` type action:
228+
2. Add the new [`intent-filter`](https://developer.android.com/training/app-links/create-deeplinks#add-intent) inside the `MainActivity` entry with a `VIEW` type action:
229229

230230
```xml
231231
<activity
@@ -276,7 +276,7 @@ After adding them, it should look like this:
276276
</activity>
277277
```
278278

279-
Then, you need to [declare the association](https://developer.android.com/training/app-links/verify-android-applinks#web-assoc) between your website and your intent filters by hosting a Digital Asset Links JSON file.
279+
Then, you need to [declare the association](https://developer.android.com/training/app-links/configure-assetlinks#declare-website) between your website and your intent filters by hosting a Digital Asset Links JSON file.
280280

281281
</TabItem>
282282
</FrameworkTabs>

‎versioned_docs/version-7.x/drawer-layout.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ This is only supported on iOS and Android.
181181

182182
#### `configureGestureHandler`
183183

184-
Callback to configure the underlying [gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/gesture). It receives the `gesture` object as an argument:
184+
Callback to configure the underlying [Pan gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/use-pan-gesture/). It receives the `gesture` object as an argument:
185185

186186
```js
187187
configureGestureHandler={({ gesture }) => {

‎versioned_docs/version-7.x/drawer-navigator.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Style object for the component wrapping the screen content.
578578

579579
#### `configureGestureHandler`
580580

581-
Callback to configure the underlying [gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/gesture). It receives the `gesture` object as an argument:
581+
Callback to configure the underlying [Pan gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/use-pan-gesture/). It receives the `gesture` object as an argument:
582582

583583
```js
584584
configureGestureHandler: ({ gesture }) => {

‎versioned_docs/version-7.x/elements.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ This is useful if you want to render a semi-transparent header or a blurred back
448448

449449
Note that if you don't want your content to appear under the header, you need to manually add a top margin to your content. React Navigation won't do it automatically.
450450

451-
To get the height of the header, you can use [`HeaderHeightContext`](#headerheightcontext) with [React's Context API](https://react.dev/reference/react/useContext#contextconsumer) or [`useHeaderHeight`](#useheaderheight).
451+
To get the height of the header, you can use [`HeaderHeightContext`](#headerheightcontext) with [React's Context API](https://react.dev/reference/react/createContext#consumer) or [`useHeaderHeight`](#useheaderheight).
452452

453453
#### `headerBackground`
454454

‎versioned_docs/version-7.x/from-expo-router.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ React Navigation provides a lot of control and flexibility, which is useful for
4646

4747
#### React Navigation is maintained by Expo
4848

49-
React Navigation was originally started by [Brent Vatne](https://github.com/brentvatne) from [Expo](https://docs.expo.dev/) and [Eric Vicenti](https://github.com/ericvicenti) from Facebook (now Meta). React Navigation 5 was a complete rewrite sponsored by Expo and led by [Satyajit Sahoo](https://github.com/satya164) from [Callstack](https://callstack.com/) in collaboration with [Michał Osadnik](https://github.com/osdnk) from [Software Mansion](https://www.software-mansion.com/). For the past few years, the project has been primarily maintained by Satyajit Sahoo with support from Callstack and Software Mansion. Neither Expo nor the Expo Router team is involved in its ongoing development, maintenance, or roadmap.
49+
React Navigation was originally started by [Brent Vatne](https://github.com/brentvatne) from [Expo](https://docs.expo.dev/) and [Eric Vicenti](https://github.com/ericvicenti) from Facebook (now Meta). React Navigation 5 was a complete rewrite sponsored by Expo and led by [Satyajit Sahoo](https://github.com/satya164) from [Callstack](https://callstack.com/) in collaboration with [Michał Osadnik](https://github.com/osdnk) from [Software Mansion](https://swmansion.com/). For the past few years, the project has been primarily maintained by Satyajit Sahoo with support from Callstack and Software Mansion. Neither Expo nor the Expo Router team is involved in its ongoing development, maintenance, or roadmap.
5050

5151
## Mental model
5252

‎versioned_docs/version-7.x/native-stack-navigator.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ This is useful if you want to render a semi-transparent header or a blurred back
786786

787787
Note that if you don't want your content to appear under the header, you need to manually add a top margin to your content. React Navigation won't do it automatically.
788788

789-
To get the height of the header, you can use [`HeaderHeightContext`](elements.md#headerheightcontext) with [React's Context API](https://react.dev/reference/react/useContext#contextconsumer) or [`useHeaderHeight`](elements.md#useheaderheight).
789+
To get the height of the header, you can use [`HeaderHeightContext`](elements.md#headerheightcontext) with [React's Context API](https://react.dev/reference/react/createContext#consumer) or [`useHeaderHeight`](elements.md#useheaderheight).
790790

791791
#### `headerBlurEffect`
792792

‎versioned_docs/version-7.x/troubleshooting.md‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Sometimes the error may look like this:
5555
Error: While trying to resolve module "@react-navigation/native" from file "/path/to/src/App.js", the package "/path/to/node_modules/@react-navigation/native/package.json" was successfully found. However, this package itself specifies a "main" module field that could not be resolved ("/path/to/node_modules/@react-navigation/native/src/index.tsx"
5656
```
5757
58-
This can happen if you have a custom configuration for metro and haven't specified `ts` and `tsx` as valid extensions. These extensions are present in the default configuration. To check if this is the issue, look for a `metro.config.js` file in your project and check if you have specified the [`sourceExts`](https://facebook.github.io/metro/docs/en/configuration#sourceexts) option. It should at least have the following configuration:
58+
This can happen if you have a custom configuration for metro and haven't specified `ts` and `tsx` as valid extensions. These extensions are present in the default configuration. To check if this is the issue, look for a `metro.config.js` file in your project and check if you have specified the [`sourceExts`](https://metrobundler.dev/docs/configuration/#sourceexts) option. It should at least have the following configuration:
5959
6060
```js
6161
sourceExts: ['js', 'json', 'ts', 'tsx'];
@@ -598,13 +598,3 @@ function App() {
598598
</ConfigTabs>
599599
600600
This is not React Navigation specific, but related to React in general. You should always avoid creating components during render, whether you are using React Navigation or not.
601-
602-
## App is not working properly when connected to Chrome Debugger
603-
604-
When the app is connected to Chrome Debugger (or other tools that use Chrome Debugger such as [React Native Debugger](https://github.com/jhen0409/react-native-debugger)) you might encounter various issues related to timing.
605-
606-
This can result in issues such as button presses taking a long time to register or not working at all, [gestures and animations being slow and buggy](https://github.com/facebook/react-native/issues/2367) etc. There can be other functional issues such as promises not resolving, [timeouts and intervals not working correctly](https://github.com/facebook/react-native/issues/4470) etc. as well.
607-
608-
The issues are not related to React Navigation, but due to the nature of how the Chrome Debugger works. When connected to Chrome Debugger, your whole app runs on Chrome and communicates with the native app via sockets over the network, which can introduce latency and timing related issues.
609-
610-
So, unless you are trying to debug something, it's better to test the app without being connected to the Chrome Debugger. If you are using iOS, you can alternatively use [Safari to debug your app](https://reactnative.dev/docs/debugging#safari-developer-tools) which debugs the app on the device directly and does not have these issues, though it has other downsides.

0 commit comments

Comments
 (0)