getInstanceKey function

dynamic getInstanceKey(
  1. ReactElement instance
)

Returns the ReactElement.key associated with the specified instance.

Implementation

dynamic getInstanceKey(ReactElement instance) => instance.key;