Working on automatic shared URLs with React Navigation's static config.
If the same screen appears in multiple navigators with the same path pattern, it'll be marked as shared automatically.
So the screen keeps one URL, even when it lives in different navigators.
@gs_rumana They depend on Reanimated and React Native Screens teams.
For native tabs, we will have a stable version in React Navigation 8. Meanwhile, make sure to report any issues you encountered.
The indicator now has 5 pieces. The pieces in the middle scale to account for width changes, the pieces on the side handle borderRadius.
Why 3 pieces in the middle instead of 1? The scaling math can leave gaps, especially on Android.
3 pieces cover left/right and middle gaps.
What should happen if you call navigation.preload('MyScreen') multiple times?
Currently, each call adds a new instance of the preloaded screen. Should we change the behavior of preload?
The new retain API in React Navigation 8 keeps stack screens rendered and active in the background even after going back.
So you can do things like move a video to picture-in-picture so it keeps playing.
New versions of `@react-navigation/bottom-tabs` are out for 7.x and 8.x.
You can now specify `tabBarSelectionEnabled: false` to disable selection of a tab on press with native tabs, and listen to the `tabPress` event to implement custom behavior.
React Native Screens 4.25.0 is here 📲
👉 Legacy architecture is no longer supported
👉 Release candidate version of Tabs API
👉 Color scheme & RTL support in Tabs
👉 Comprehensive MoreNavigationController handling
👉 Prevent native selection support in Tabs
And more.
React Navigation 7 now supports module augmentation for specifying root types.
We backported this from React Navigation 8, so new apps start using it to make the upgrade easier.
The old global augmentation still works for backward compatibility.
Huge shoutout to @trpfsu for react-native-screen-transitions - an incredible library that lets you build advanced gesture-driven navigation animations in React Native. 🙌
Check out his blog post, which shows how to use it: from recreating the iOS page transition to the brand-new navigation.zoom() transition.
Link below 👇
Worked with Claude to dramatically simplify the type annotation needed for custom navigators in React Navigation 8.
I was not happy with the verbosity. Really glad how it turned out.
Also, TIL that we can use `this` in interface, which also works for properties merged with `&`.
In React Navigation 8, we're working on a way to "retain" screens: navigation.retain(true)
Retained screens stay alive and are not unmounted when you go back from them.
Next time you navigate to the screen, it'll animate in the existing instance.
top tabs usually have swipe gesture because the tabs at the top are farther from your finger. so swipe gesture provides an easy way to switch tabs.
swipe gesture with bottom tabs is against design guidelines.
for Android, Material Guidelines explicitly say not to do it:
> Don't swipe between destinations
> Source: m3.material.io/components/nav…
for iOS, while there don't seem to be explicit guidance, the tabs themselves can be positioned can as a sidebar on larger screens - where tab items are shown vertically, so a horizontal swipe gesture would be unintuitive.
since react navigation wants to follow platform guidelines, this won't be supported in the built-in navigator.
but react navigation is flexible, so if you really want it:
- use material top tabs with tab bar position at bottom
- build your own navigator that implements this
React Native Header Motion v1 is out 🎉
Build scroll-driven animated headers your own way!
🖐️ New in v1: header panning
Users can drag the header itself to scroll, making the gesture feel continuous with the scrollable.
🗒️ pawicao.github.io/react-native-h…
More details in the thread 👇
Not sure if this is released in a stable version of React Native Screens, as the last version was released on February 24, and that PR was merged 28 days ago.
Once it's released, we'll need to add support for it.
In the case of colorScheme, it'll be automatically set based on React Navigation theme once integrated.
Native iOS split view is coming to React Navigation 🔜
Powered by React Native Screens 🫶
Let us know your use cases so we can test and ensure that the API is suitable for a wide range of usage 👇
We just published 2 new skills for React Navigation
- Upgrade React Navigation
- Migrate to Static Config
$ npx skills add react-navigation/skills
Try it out and let us know what can be improved 🙏
15K Followers 602 FollowingDirector of engineering @swmansion. Ex @reactnative core at @facebook. Author: gesture-handler, reanimated, rn-screens. Building Radon IDE 🛠️ https://t.co/c1W2EpOzd3
33K Followers 4K FollowingSay hi, I'm friendly! Founder/CTO @infinite_red, game dev @jammingames (Gunship Origins, published by MicroProse), rec hockey goalie, Lutheran, dad x4, gpa x1
85K Followers 2K Following𝝠 Expo is everything you need to build apps.
⭐️ Star the repo: https://t.co/lqFx3kgxyo
🤗 Signup for free!: https://t.co/NFVyuqAVFE
4K Followers 17 FollowingReact Native Paper is an open source UI component library implementing Material Design Guidelines for developing @ReactNative apps. Powered by @callstackio 🚀
2K Followers 207 FollowingYour software development partner! Specializing in web & mobile apps using React & React Native. Plus, UI/UX design service.
Hire us: [email protected]
2 Followers 25 FollowingIngeniero móvil senior · React Native + Supabase + AI
MVPs a Play Store / App Store en 8-10 semanas
Dallas, TX · ES nativo · EN async
261 Followers 686 FollowingShipped 3 apps to App Store in a month. Self-taught, no CS degree. Built AI App Factory — native mobile apps with AI agents. Building in public.
22 Followers 459 FollowingI'm trying to improve myself in the field of Software (International Field)
-Everyone is the master of his own technology
@SoysalDev
4 Followers 237 Following10x Software Engineering; Human intelligence, AI speed. Architecting tomorrow’s digital foundations by fusing holistic design with AI agentic automation.
257 Followers 449 FollowingSoftware Developer specializing in React, React Native, Java, and Solidity. I build fast, scalable, user-centric applications across web, mobile, and blockchain
245 Followers 861 FollowingA small but notable part of my job is unzipping things that aren't intended to be unzipped. @typescript & @nodejs. Digital Ocean https://t.co/1e2oOHw10x
15K Followers 602 FollowingDirector of engineering @swmansion. Ex @reactnative core at @facebook. Author: gesture-handler, reanimated, rn-screens. Building Radon IDE 🛠️ https://t.co/c1W2EpOzd3
85K Followers 2K Following𝝠 Expo is everything you need to build apps.
⭐️ Star the repo: https://t.co/lqFx3kgxyo
🤗 Signup for free!: https://t.co/NFVyuqAVFE