Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
useComponentInstance is a custom hook that provides access to the current component’s instance information in a React Native for Vega app. This hook is useful when you need to access the component’s metadata such as its name, type, or ID. Use the IComponentInstance object to identify an instance of a launched component. It is used by the OS to communicate additional information about the component instance to the application process. IComponentInstance Type:
ComponentType Type:

Get started with useComponentInstance

The useComponentInstance hook is part of the @amazon-devices/react-native-kepler module.

Examples

最終更新日 2026年10月26日