Is it okay to inject the same component context into every child component? #99
-
The samples in decompose seem to have a manual dependency injection system setup always using the As I'm digging deeper into some of the source code at RouterEntryFactoryImpl, it seems like it might be important to actually make sure the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Good question! It's very important to use individual contexts for each child, as mentioned in the docs (a warning at the end) - https://arkivanov.github.io/Decompose/component/overview/#adding-a-child-component-manually |
Beta Was this translation helpful? Give feedback.
Good question! It's very important to use individual contexts for each child, as mentioned in the docs (a warning at the end) - https://arkivanov.github.io/Decompose/component/overview/#adding-a-child-component-manually