Build Youtube in React 10: Adding routing

You may also like...

2 Responses

  1. Wando says:

    Was using react router v6 and the thing wasn’t working.
    Foubd out that for react router v6 to work, on App.js replace with the new component.

  2. Wando says:

    Was using react-router v6 and the thing wasn’t working.
    Found out that for react-router v6 to work, on App.js replace Switch with the new Routes component.

Leave a Reply

Your email address will not be published. Required fields are marked *