Skip to content

popTo from useNavigation is missing componentId parameter #58

Description

Hello,

I am trying to replace Navigation.popTo(componentId) with useNavigation hook, however according to typings there is not support for passing componentId which I want to pop to.

const {popTo} = useNavigation();
popTo(someComponentId); // <-- can not pass componentId

Please compare official rnn docs with rnn hooks docs to see the difference.

If this is not a mistake then please instruct me how to implement requested scenario. Btw I am glad to have this library, the code is so clean. Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions