Hey, I am coming from a React background and there we have a situation called “prop drilling”, which describes the process of taking some data and passing it through every component in the tree manually.
I am encountering a similar situation using UMG widgets, where I have a custom button, being several layers of custom UMG components deep, that is dispatching a custom OnClick event. Now I had to create an event dispatcher on every level of the hierarchy so that I could pass that event onto the root component, where the side effects are located at.
Is there a more elegant way to handle custom event dispatchers without introducing side effects in the corresponding widget?