how to use react-router-dom, but better !!
1st step   //create react app like this ==&gt; npx create-react-app react-router-dom  2nd step  ...
Tags: react, reactrouterdom, betterreactrouterdom, router