Skip to content

custom storeKey in connect() and Provider conflict #693

Closed
@tleunen

Description

@tleunen

connect allows the user to set a custom storeKey, which is interesting when we have multiple store.

But the <Provider> component doesn't allow to set a custom store key. So does connect() only work when using the store as prop instead of context?

Will it make sense to add a function to create a custom provider using a specific store key as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions