Comments (4)
I have the same issue on react native 0.72.2 and similar navigation packages version.
from react-navigation.
@matpoz why did you close it? you found another solution?
from react-navigation.
Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.
from react-navigation.
@AptypTheKing
I found this in the v5 to v6 migration guide:
https://reactnavigation.org/docs/upgrading-from-5.x/#no-more-state-property-on-the-route-prop
"The route prop passed to components often contained a state property which held state of the child navigator. While it wasn't meant to be public and we recommended against using it in the docs, we've seen a lot of people use this property.
It's problematic to use the property since it's not guaranteed to exist before navigation happens in the child navigator. This can cause subtle bugs in your app which you might not notice during development. So we have started warning on using this property in React Navigation 5 and removed this property entirely in React Navigation 6 prevent its usage."
Although this is not exactly the same case (I don't intend to use the route prop at all), this shows that this probably doesn't work by design.
I haven't found a solution.
I'd really appreciate any advice.
from react-navigation.
Related Issues (20)
- Unable to access elements rendered under drawer in Appium HOT 3
- App randomly freezes when react-native Modal is shown while preventing remove screen with usePreventRemove on iOS HOT 1
- Nested Navigation Gesture issues HOT 3
- iOS App Crashes on navigation to previous screen HOT 2
- Drawer does not close after selecting item HOT 10
- A props object containing a "key" prop is being spread into JSX HOT 10
- Indicator borderRadius doesn't work with tabBarItemStyle width: 'auto' HOT 1
- [Android] Screen get dimmed after navigate? HOT 3
- Issue with initial index HOT 2
- Modal not displaying on iOS when navigating from screen that is more than 1 screen away
- Invariant Violation: requireNativeComponent: "LEGACY_RNCViewPager" was not found in the UIManager. HOT 10
- Removing first tab screen
- createMemoryHistory always keeps current hash even if replacement has a hash HOT 4
- incompatible types HOT 1
- Incorrect types
- Unexpected tab label color change during tab change animation (react-native-tab-view) HOT 1
- I can't push and pop Stack.Group, only replace HOT 2
- navigation.goBack() crash the app only in iPhone 15 when using '@react-navigation/native-stack' HOT 2
- transparentModal doesn't appear on the screen although it is rendered due to which the whole app becomes unresponsive after upgrading from react-native 0.72.5 to 0.73.8 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-navigation.