Skip to content

Fix Authentication Flows Static and Dynamic Tab Issues #1419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 24, 2025

Conversation

VimDiesel123
Copy link
Contributor

@VimDiesel123 VimDiesel123 commented Apr 5, 2025

Changes

How it will work section

The current How it will work section is confusing. There is no code snippet in the Static tab. The code snippet which seems like it belongs in the Static tab of the How it will work section is inside of the Define the hooks section - even though it does not relate to defining hooks.

There is also a useful general explanation of how it will work which is only visible under the Dynamic tab. I've reorganized things to be more clear.

I've also tried to make the Static and Dynamic code snippets match each other more closely.

Define our screens section

The Define our screens section is similarly confusing. There is a section of text which pertains to the Dynamic tab but it appears in both the Static and the Dynamic tab.

Then there is a set of Tabs at the bottom. The code snippet in the Static Tab appears to be out of place but the code snippet in Dynamic Tab looks like it belongs inside the previous Dynamic tab. I've reorganized things to be more clear.

I've also removed a reference to an isSignout state in the text which doesn't appear in the code until a later section.

Copy link

netlify bot commented Apr 5, 2025

Deploy Preview for react-navigation-docs ready!

Name Link
🔨 Latest commit 93b8daa
🔍 Latest deploy log https://app.netlify.com/sites/react-navigation-docs/deploys/680a99e0efbfe8000807a0a4
😎 Deploy Preview https://deploy-preview-1419--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.

@VimDiesel123 VimDiesel123 changed the title Fix auth flow Fix Authentication Flows Static and Dynamic Tab Issues Apr 5, 2025
Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. I have a few comments about the changes!

@satya164 satya164 merged commit 277e90e into react-navigation:main Apr 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants