You can use ref.onStateChange inside content JS when using the React SDK, but this feature isn't provided for the other SDKs. This is an important feature when using content JS inside of complex symbols. For cross-compatibility and functionality, ...