Creates a URL for the given object. Wraps the native URL.createObjectURL function with handling to revoke the URL when the object changes or the component unmounts.
URL.createObjectURL
The object for which to create a URL.
Creates a URL for the given object. Wraps the native
URL.createObjectURLfunction with handling to revoke the URL when the object changes or the component unmounts.