skip to Main Content

Reactjs – React-Router-Dom V6 Vs V5

Trying to create a minimalist React Application using CDN to test React-router-dom. The below code works fine: <html> <head> <meta charset='UTF-8'> <script src="https://unpkg.com/react@latest/umd/react.development.js" crossorigin></script> <script src="https://unpkg.com/react-dom@latest/umd/react-dom.development.js" crossorigin></script> <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> <script src='https://unpkg.com/[email protected]/umd/react-router-dom.min.js'></script> </head> <body> <div id='root'></div> <script type='text/babel'> const Link =…

VIEW QUESTION
Back To Top
Search