Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

How to access params.data in react component or Redux store #368

Description

is there a way to access params.data in react component or redux store?
or pass it through state from <Provider> to components or store?

Activity

  1. ghost changed the title [-]How to access params.data in react component[/-] [+]How to access params.data in react component or Redux store[/+] on Oct 8, 2016
  2. SteveSandersonMS commented on Oct 10, 2016

    @SteveSandersonMS
    Member

    You receive params.data in your boot-server.ts, and can pass it from there to the rest of your app in whatever way is most convenient for you. For example, in your configureStore method, you could use the params.data values as part of the store's initial state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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