Skip to content

Latest commit

History

History

README.md

@react-navigation/devtools

Developer tools for React Navigation.

Installation instructions and documentation can be found on the React Navigation website.

Installation

Open a Terminal in your project's folder and run,

yarn add @react-navigation/devtools

Usage

For redux dev tools extension integration, you can pass a ref to the container:

import*asReactfrom'react';import{NavigationContainer}from'@react-navigation/native';import{useReduxDevToolsExtension}from'@react-navigation/devtools';exportdefaultfunctionApp(){constnavigationRef=React.useRef();useReduxDevToolsExtension(navigationRef);return(<NavigationContainerref={navigationRef}>{/* ... */}</NavigationContainer>);}