URL class implements the URL Web API, supporting all standard properties: hash, host, hostname, href, origin, password, pathname, port, protocol, search, searchParams, and username.
Trailing slash bug fix
Vega’s URL implementation includes a fix for a known React Native issue #24428 where URLs incorrectly received automatic trailing slashes. For example, in stock React Native, a URL like[https://example.com](https://example.com`) was incorrectly converted to [https://example.com/,](https://example.com/`,) potentially causing 404 errors or unexpected behavior.
This issue has been resolved in React Native for Vega, so developers can use the URL class without needing third-party polyfills such as react-native-url-polyfill.

