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:
Get started with useComponentInstance
The useComponentInstance hook is part of the @amazon-devices/react-native-kepler module.

