Skip to content

Redux integration #1041

Closed
Closed
@kennetpostigo

Description

@kennetpostigo

Hello,

I'm currently working on a small lib that easily enables people to integrate GraphQL into your redux workflow. Using it would look like this:

// Params it takes in
reachGraphQL(path, query, queryParams = {}, actionCreator)

// In use
reachGraphQL('localhost:3000/graphql',`{
    {
        users{
            name
        }
    }
}`, {}, getUsers);

It depends on the user to utilize redux-thunk when creating a store. Once it executes it dispatches the actionAction creator that was passed in.

I wanted to ask if there is anything that comes to mind that I should consider that I may have over looked.

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