DEV Community

Discussion on: React, React-Router and Fetch API

Collapse
 
sirmoustache profile image
SirMoustache

There is another solution with passing location property to your component.

You can check it here here