react-navigation / react-navigation.github.io

Home of the documentation and other miscellanea
https://reactnavigation.org/
MIT License
316 stars 1.9k forks source link

Update configuring-links.md #1278

Open matteo-hertel opened 1 year ago

matteo-hertel commented 1 year ago

Overview

I have a main navigator with a bunch of screens, I wanted a deep link to one of those screens to go back to the initial route and I couldn't get it to work, after diving into the source code I found that a top-level initialRouteName can be passed and that solved my problem, the docs are a bit ambiguous so this PR hopefully will save the next person a few hours of debugging

Thank you so much for making and maintaining react-navigation, it's amazing and delightful working with it!

TODO

netlify[bot] commented 1 year ago

Deploy Preview for react-navigation-docs ready!

Name Link
Latest commit e911e5529d5e86315f85e34157eca91aa1041d4a
Latest deploy log https://app.netlify.com/sites/react-navigation-docs/deploys/651fd89a5ca3ef0008501551
Deploy Preview https://deploy-preview-1278--react-navigation-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.