DEV Community


Discussion on: Build a react-router clone from scratch

thomascullen profile image
Thomas Cullen Author

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!

Forem Open with the Forem app