You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
You're right! good catch.
This is a breaking change but since nobody has mentioned it before I think it won't have much impact
I'll let you know as soon as I can publish the new version
Hello,
I am trying to replace
Navigation.popTo(componentId)
with useNavigation hook, however according to typings there is not support for passingcomponentId
which I want to pop to.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.
The text was updated successfully, but these errors were encountered: