needle icon indicating copy to clipboard operation
needle copied to clipboard

Dynamic dependency usage

Open sidjeyz opened this issue 3 years ago • 0 comments

Hi everyone

We are struggling with "correct" usage of dynamic dependencies.

Example case:

We have list of todos (root controller aka component), on item tap we should present detail todo controller (component)

The question:

Should we store root component in root controller to call function of dynamic dependency, called i.e:

func detailTodo(item: ToDo) -> DetailToDoBuilder

or we should go another way?

sidjeyz avatar Jul 19 '22 14:07 sidjeyz