DEV Community

Discussion on: How to sync component state with React Router

Collapse
baruchiro profile image
Baruch Odem Author

Why? In which case it will make redundant API calls?
If you're using it as a state, your component will work the same, and only the URL updating will be different.