Categories
Mastering Development

Props is always undefined when using with react router, on every page

I’m using react-router-dom and Link to pass props to other components, I intend to use these props on my /details route. However I can’t seem to define the props, I’ve checked other questions and I’m using: <Link to=}> to no avail: Home.js // this will be the home page that lists all the available leads […]