Handle Custom Invoker Commands in React

Use custom --commands with a native command event listener and a React callback ref cleanup.