react-navigation / react-navigation/react-navigation.github.io
Code samples don't match up what's with on Snack sample
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 324
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
The following code snippet here:
https://reactnavigation.org/docs/modal
under create modal stack - does not match with the code snippet on the linked snack example:
For example, the following line in the docs:
function RootStackScreen() {
return (
<RootStack.Navigator mode="modal">
<RootStack.Screen
name="Main"
component={MainStackScreen}
options={{ headerShown: false }}
/>
<RootStack.Screen name="MyModal" component={ModalScreen} />
</RootStack.Navigator>
);
}
does not exist in the Snack example. It should probably reflect the same code so as not to be confusing to new users.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the modal page at reactnavigation.org/docs/modal with the linked Snack example and its source URL. Start by checking the create modal stack snippet against the Snack code; done means the documentation and example show the same implementation or clearly explain any intentional difference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, react-native
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100