Skip to content
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

Fix NavigationContainer ref type #41

Conversation

dimapaloskin
Copy link
Member

Hello.

Looks like NavigationContainer ref has NavigationContainerRef type: packages/native/src/NavigationContainer.tsx#L47

These changes will make it possible to use navigation without navigation prop.

@dimapaloskin dimapaloskin changed the title Fix NavigationContainer ref Fix NavigationContainer ref type Jan 5, 2021
@dimapaloskin dimapaloskin requested a review from MoOx January 8, 2021 08:26
@MoOx MoOx requested a review from Freddy03h January 8, 2021 08:54
Copy link
Member

@MoOx MoOx left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I will ask for @Freddy03h review because he added this ref. I would like a confirmation that this change is ok as I don't use this ref (yet).

@dimapaloskin
Copy link
Member Author

@MoOx @Freddy03h any updates? :)

@Freddy03h
Copy link
Member

Sorry for the delay!
I've tried this change on my own codebase to test it and it look good, thanks!

@Freddy03h Freddy03h merged commit f2b8126 into rescript-react-native:master Feb 13, 2021
@Freddy03h
Copy link
Member

Hi @MoOx ! I merged the PR because I've already approved it. What do you think about release a new version?

@MoOx
Copy link
Member

MoOx commented Feb 19, 2021

Published as 5.1.0 with rescript breaking changes!

@dimapaloskin dimapaloskin deleted the fix-navigation-container-ref branch February 25, 2021 13:09
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.

3 participants