Closed
Description
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.