docs/react-router/README.md
The @ionic/react-router package is the routing integration for @ionic/react. It uses the React Router library beneath the surface.
See our Contributing Guide.
Refer to the React Router Testing documentation for testing the React Router package.
The StackManager logs the decisions behind the swipe-to-go-back gesture: whether it can start, which views are entering and leaving, and whether the entering page ends up visible. These logs are off in every build, dev included. Ionic's logLevel config turns them on, either through the URL:
http://localhost:3000/routing?ionic:logLevel=DEBUG
or before the app renders:
import { LogLevel, setupIonicReact } from '@ionic/react';
setupIonicReact({ logLevel: LogLevel.DEBUG });
Refer to the testing docs for how to read them in a failing e2e run.