React native complains navigation state parsed from URL contains routes not present in root navigator even though it does
When I use router.replace in my application, it complains: “The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn’t match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.”
Passing functions between screens in expo routing, react native
I’m starting to use react native and trying to pass a setState function from one screen to another using the expo routing: