Movatterモバイル変換


[0]ホーム

URL:


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

upgrade to react-navigation 7#72

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Freddy03h merged 13 commits intomainfromupgrade-to-react-navigation-7
Jan 19, 2025
Merged

Conversation

@Freddy03h
Copy link
Member

@Freddy03h
Copy link
MemberAuthor

Hi@cknitt, can I have a review? thanks :)

src/Stack.res Outdated
@sendexternalpush: (navigation,string)=>unit="push"
@sendexternalpushWithParams: (navigation,string,'params)=>unit="push"

@sendexternalpop: (navigation, ~count:int=?,unit)=>unit="pop"
Copy link
Member

Choose a reason for hiding this comment

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

With ReScript 11.1, we could get rid of the trailing unit everywhere.

Freddy03h reacted with thumbs up emoji
src/Stack.res Outdated

@sendexternalpopTo: (navigation,string)=>unit="popTo"
@send
externalpopToWithParams: (navigation,string,'params)=>unit="popTo"
Copy link
Member

Choose a reason for hiding this comment

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

With ReScript 11.1, we could have a single binding with an optional param (without trailing unit) instead.

Freddy03h reacted with thumbs up emoji
Copy link
Member

@cknittcknitt left a comment

Choose a reason for hiding this comment

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

👍 🎉

Freddy03h reacted with laugh emoji
@Freddy03hFreddy03h merged commit816a664 intomainJan 19, 2025
2 checks passed
@Freddy03hFreddy03h deleted the upgrade-to-react-navigation-7 branchJanuary 19, 2025 12:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cknittcknittcknitt 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.

3 participants

@Freddy03h@cknitt

[8]ページ先頭

©2009-2025 Movatter.jp