In a Coconut application, I have a child view that displays a list of items fetched from a remote service.
The application has a header bar containing a button specifically designed to trigger a refresh of the item list. What is the best way to implement this behavior?
In vanilla JS, I would probably trigger an event on the
window object and make the child view listen to these events and react accordingly. But I have strictly no idea of what is the Coconut equivalent (I’m very new to Coconut… and have no experience with React: I’m an Angular guy ).