Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
The global 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.

Example

This example demonstrates the fixed trailing slash issue.
最終更新日 2026年10月26日