I'm having a problem with my React.
I use React-Router and the Fetch API.
So... I have a list of products and when I click on one, I am redirected to a route to display more details on the product in question but also to display the other products.
reactapp.com/all for all products
reactapp.com/p/productID my two URLs
When I am on
reactapp.com/p/productID and I click on another product, the URL is updated but the product information is not updated.
When I click a second time, the product information I previously clicked is displayed
I don't know if you understand me.I have a data restriction at the moment.so I can't deploy so you can see it.
Please if you've understood what i mean, help me