Skip to content

multiple containers - Provider Inject #35

@neckaros

Description

@neckaros

What is the recommanded way to have multiple containers provided to our App?
in unstated you could use dependency injection:

<Provider inject={[container1, container2...]}>
 MyApp...
<Provider>

but it seems that with next the only way in a tree hell:

<Container1.Provider>
   <Container2.Provider>
     MyApp
   </Container2.Provider>
</Container1.Provider>

Am i missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions