Gatsby.js and redux-promise middleware

387 Views Asked by At

I'm wondering if anyone knows if redux-promise (or redux-thunk) will work as middleware in the gatsby.js static site generator. I know that gatsby has redux under the hood, so I'm wondering if there are any conflicts when extra/other redux packages are introduced.

1

There are 1 best solutions below

1
On

There is an example in the Gatsby Repo that demonstrates how to configure a Redux store with Gatsby: https://github.com/gatsbyjs/gatsby/tree/master/examples/using-redux