Have ideas to improve npm?Join in the discussion! »

    @react-navigation/devtools
    TypeScript icon, indicating that this package has built-in type declarations

    5.1.22 • Public • Published

    @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 * as React from 'react';
    import { NavigationContainer } from '@react-navigation/native';
    import { useReduxDevToolsExtension } from '@react-navigation/devtools';
    
    export default function App() {
      const navigationRef = React.useRef();
    
      useReduxDevToolsExtension(navigationRef);
    
      return (
        <NavigationContainer ref={navigationRef}>{/* ... */}</NavigationContainer>
      );
    }

    Install

    npm i @react-navigation/devtools

    DownloadsWeekly Downloads

    7,186

    Version

    5.1.22

    License

    MIT

    Unpacked Size

    32 kB

    Total Files

    16

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar