Skip to content

Redux: store state and reducers #384

Closed
@Vanuan

Description

@Vanuan

As far as I read, there's no way to pass a graphql response through reducers. I've looked into "apollo" state object but it doesn't seem to provide the same data we have in component's properties (in mapQueriesToProperties).

I'm new to redux, but should we be able to preprocess server's response before passing them on to React components?

I've tried dispatching data in React component but it doesn't feel right.

Is there a way to move data from queries to store?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions