Skip to content

Commit e583f2d

Browse files
committed
Fix wording and typo
1 parent 19ceb00 commit e583f2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

versioned_docs/version-8.x/data-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ With this setup, React Navigation calls the loader for the `Profile` screen when
153153

154154
## Running loaders manually
155155

156-
Use `UNSTABLE_getLoaderForState` to get the loader for a screen, for example when preloading data before the initial render, or when [server rendering](server-rendering.md):
156+
The `UNSTABLE_getLoaderForState` utility can be used to get the loader for a screen, for example when preloading data before the initial render, or when [server rendering](server-rendering.md):
157157

158158
```js
159159
import { UNSTABLE_getLoaderForState } from '@react-navigation/native';

versioned_docs/version-8.x/suspense.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ Suspense boundaries only handle pending content. If loading fails, or the compon
165165

166166
```js static2dynamic
167167
const RootStack = createNativeStackNavigator({
168+
// highlight-start
168169
screenLayout: ({ children }) => (
169-
// highlight-next-line
170170
<ErrorBoundary fallback={<ErrorFallback />}>
171171
<React.Suspense fallback={<LoadingPlaceholder />}>
172172
{children}

0 commit comments

Comments
 (0)