Gijs van Dam
Gijs van Dam

Working through the docs of @statelyai, my eye fell on this pattern. Anybody know the official name? It's a JS callback pattern but you get a callback and you get an onReceive that allows for registering a listener to an event at the parent. Voila: 2-way parent-child comms

Gijs van Dam

I like it! I can think of a few use cases. There will be a day in the near future where I am going to use it, for sure.

Callback listener pattern