react-native-navigation-hooks icon indicating copy to clipboard operation
react-native-navigation-hooks copied to clipboard

A set of React hooks for React Native Navigation.

Results 5 react-native-navigation-hooks issues
Sort by recently updated
recently updated
newest added

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}...

When I try to call twice the second one is ignored like this ``` useNavigationComponentDidAppear(() => { console.log('test'); setIsScreen(true); }); useNavigationComponentDidAppear(() => { console.log('test 2'); }); ```

I changed `useLayoutEffect` to `useEffect` at useNavigationComponentDidAppear & useNavigationComponentDidDisppear. ``` const useNavigationComponentDidAppear = ( handler: EventHandler, componentId: string ) => { useLayoutEffect(() => { const subscription = Navigation.events().registerComponentDidAppearListener( (event: ComponentDidAppearEvent)...

The PushCommand show here allows the parameter P to specify the passProps type but it's not parameterized similarly in ShowModalCommand. I would like to validate my props when using the...

Hi, I was wondering if you could export types from this library? I definitely appreciate the types that come out-of-the-box, but for the use case of wrapping additional business logic...