Please can somebody explain the listener on the react extensions-boilerplate example

Your application can talk back. Depends what you are trying to talk back too.

You can use PubSub to talk to other PubSub connected users.

Provides a send function.

Or you can send from application/client/user to EBS via any javascript ajax function, such as fetch, jQuery.ajax or whatever.