Skip to content

Commit baf356c

Browse files
committed
Add june progress blog post
1 parent 2637049 commit baf356c

8 files changed

Lines changed: 424 additions & 7 deletions

blog/2026-07-08-react-navigation-8.0-july-progress.md

Lines changed: 411 additions & 0 deletions
Large diffs are not rendered by default.
795 KB
Binary file not shown.
2.96 MB
Binary file not shown.
2.29 MB
Binary file not shown.
1.55 MB
Binary file not shown.
112 KB
Binary file not shown.

versioned_docs/version-8.x/custom-navigators.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,11 @@ function TabNavigator({ tabBarStyle, contentStyle, ...rest }) {
121121
});
122122

123123
if (!isFocused && !event.defaultPrevented) {
124-
navigation.dispatch({
125-
...TabActions.jumpTo(route.name, route.params),
126-
target: state.key,
124+
React.startTransition(() => {
125+
navigation.dispatch({
126+
...TabActions.jumpTo(route.name, route.params),
127+
target: state.key,
128+
});
127129
});
128130
}
129131
}}
@@ -367,9 +369,11 @@ function TabNavigator({ tabBarStyle, contentStyle, ...rest }: Props) {
367369
});
368370

369371
if (!isFocused && !event.defaultPrevented) {
370-
navigation.dispatch({
371-
...CommonActions.navigate(route.name, route.params),
372-
target: state.key,
372+
React.startTransition(() => {
373+
navigation.dispatch({
374+
...CommonActions.navigate(route.name, route.params),
375+
target: state.key,
376+
});
373377
});
374378
}
375379
}}

versioned_docs/version-8.x/standard-navigator.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ export const MyTabNavigator = createStandardNavigator<
224224
});
225225

226226
if (!isFocused && !event.defaultPrevented) {
227-
actions.navigate(route.name, route.params);
227+
React.startTransition(() => {
228+
actions.navigate(route.name, route.params);
229+
});
228230
}
229231
}}
230232
style={{ flex: 1 }}

0 commit comments

Comments
 (0)