We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setHref
The issue is demonstrated here. Check the console to find the error. Providing an absolute URL to setHref seems to be the only way to avoid an error.
Regardless, the type of setHref should be String -> URL -> Maybe URL or similar, in order to convey the notion of failure.
String -> URL -> Maybe URL
The text was updated successfully, but these errors were encountered:
OK, good catch. I agree the type should be refactored to return Maybe URL. PR welcome :-)
Maybe URL
Are there any use cases for setHref? If not, I'm also fine dropping this function from the API.
Sorry, something went wrong.
No branches or pull requests
The issue is demonstrated here. Check the console to find the error. Providing an absolute URL to
setHref
seems to be the only way to avoid an error.Regardless, the type of
setHref
should beString -> URL -> Maybe URL
or similar, in order to convey the notion of failure.The text was updated successfully, but these errors were encountered: