Is it good or bad practice having the child compos...
# compose
b
Is it good or bad practice having the child composable providing an element to parent? E.g. a content providing an action to be placed in the toolbar. The intention is to avoid hoisting state from child and allow the reuse of the parent.
z
Why do you want to avoid hoisting state? It’s a useful pattern with a few advantages. Also what do you mean by reusing the parent? Anyway this sounds like a bad idea to me, just hoist the toolbar state.