DEV Community

Discussion on: Build a react-router clone from scratch

Collapse
 
thomascullen profile image
Thomas Cullen

Thanks for pointing this out! You are correct! We don't need to pass setLocation here in the callback dependencies as it won't change. Will update the post now, thank you!