--- title: "React Navigation on web, getting browser history to work with links" date: 2022-05-09T04:12:24-04:00 toc: false images: tags: - dev - react - javascript - typescript --- I've hit another issue with React Navigation when building it with React Native for Web. The issue is with the browser history integration and ``s. React Navigation supports browser [history API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) when targeting the web, but it wouldn't add new URLs to the history when navigating using `( props: TextProps & { screen: Route; params: RoutingStackParams[Route]; }, ) { return ( {props.children} ); } ```