props.url in handleInput is available on the first search, but in subsequent searches, it is listed as undefined.
This behavior occurs on both your codesandbox.io examples, and when trying to follow along with examples in Stackblitz.
Here's an example screenshot logging the URL whenever two searches are attempted:

I'm pretty new to React, so I'm not sure what would be causing this, but thought you might want to know about this behavior.
props.urlinhandleInputis available on the first search, but in subsequent searches, it is listed asundefined.This behavior occurs on both your codesandbox.io examples, and when trying to follow along with examples in Stackblitz.
Here's an example screenshot logging the URL whenever two searches are attempted:
I'm pretty new to React, so I'm not sure what would be causing this, but thought you might want to know about this behavior.