What is the best practice to send actions from the farest Child feature to the root Parent feature?

Communication between parent and child is quite simple but complexity increases when the app starts growing in size

For example from A to E the communication can be:
A <--delegateAction-- B <--delegateAction-- C <--delegateAction-- D <--delegateAction-- E

Or it could be:
A <-- B <-- C <-- D <--delegateAction-- E

A <-delegateAction- E

is there any recommendation for this kind of scenarios?

@mbrandonw any suggestion?

I don't have a concrete answer for you. Any of those scenarios can work depending on the context. And of course the new shared state tools can often obviate the need for delegate actions, so you may want to look into that.

1 Like

Got it, Thanks for your time