Skip to content

How can I access the store in non react components? #361

@nmaves

Description

@nmaves

We have a standard react-redux setup but we have a plain old api service class that need some of the information that we store in our redux state. This service class is used by all of our components to access our backend.

I understand that I could pass the info from a component to our service class functions but I would have to do that everywhere.

I can't seem to find a solution for this. Has anyone else come across it?

Nathan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions