Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix NavigationContainer ref type #41

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

Conversation

@dimapaloskin
Copy link
Member

@dimapaloskin dimapaloskin commented Jan 5, 2021

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
@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 reacted with thumbs up emoji
Copy link
Member Author

@MoOx @Freddy03h any updates? :)

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
Copy link
Member

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

Copy link
Member

MoOx commented Feb 19, 2021

Published as 5.1.0 with rescript breaking changes!

Freddy03h and dimapaloskin reacted with hooray emoji

@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

Reviewers

@MoOx MoOx MoOx approved these changes

@Freddy03h Freddy03h Freddy03h approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /