You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll put here the correction in order to adjust the docs
old import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom
new import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
Hi, there is an error in the React starter code since an upgrade to ReactDOMv6 https://reactrouter.com/docs/en/v6/upgrading/v5
I'll put here the correction in order to adjust the docs
old
import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom
new
import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
old
new
The text was updated successfully, but these errors were encountered: