Skip to content

useRouterContext ​

Returns the raw router instance from RouterProvider context.

useRouterContext is re-exported from @effector/router-react; its API and behavior are identical in React Native.

Import ​

tsx
import { useRouterContext } from '@effector/router-react-native';

Original documentation ​

See useRouterContext in the React API for usage and examples.

Released under the MIT License.