Skip to content

Conversation

@bySabi
Copy link

@bySabi bySabi commented Jan 29, 2019

Updating doc for reflect API changes introduced on PR: react-navigation/core#30 (comment)

@react-navigation-bot
Copy link

react-navigation-bot commented Jan 29, 2019

Deploy preview for react-navigation ready!

Built with commit a76ecea

https://deploy-preview-353--react-navigation.netlify.com

@vonovak
Copy link
Member

vonovak commented Feb 3, 2019

hi! Thanks for the PR, can you please make the same change in the versioned docs too, as explained in the PR template? Thanks.

@bySabi
Copy link
Author

bySabi commented Feb 4, 2019

@vonovak I've checked it and I do not see that another file has to update.
Please correct me is I'm wrong

@vonovak
Copy link
Member

vonovak commented Feb 4, 2019

@bySabi
Copy link
Author

bySabi commented Feb 4, 2019

@vonovak
Copy link
Member

vonovak commented Feb 4, 2019

@bySabi almost there! 😃 the config option also has to be in docs/with-navigation.md - the file looked okay in this commit dcfce30

@bySabi
Copy link
Author

bySabi commented Feb 4, 2019

it seems that in the end I did not catch it :-)

<MyBackButton onRef={(elem) => this.backButton = elem} />
```

- If you need to use `withNavigation` HOC as the wrapped component of a custom HOC that use `onRef` prop API too, in order to prevent `onRef` callback fuction be called twice, `onRef` injectiong must be disabled using second param `config` object.
Copy link
Member

Choose a reason for hiding this comment

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

After reading this over, I think this paragraph should have ### Config heading, with a clear listing of what the config object can contain (even though there is just one option available - this is a the api reference: kinda like here). Does this make sense?

@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
Copy link
Member

Choose a reason for hiding this comment

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

can you please remove this file?

@satya164
Copy link
Member

satya164 commented Oct 4, 2019

Closing due to no response.

@satya164 satya164 closed this Oct 4, 2019
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.

4 participants