I don't think you need it - since you're deriving state from props you can just derive from the new props and compare to the old state. At least I believe that's the reasoning.
Copying the URL to the state will work, although it's a bit more verbose.