1

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.

Matt
  • 811
  • 2
  • 11
  • 20
  • It would be good to have an answer to this, wondering the same thing... I have a basic redux thunk function call that is not triggering the thunk part of things, as far as I can tell... – ContextCue Jul 17 '19 at 22:02
  • There is a possibility that this is a solve : https://gist.github.com/azamatsmith/ab814c869e81dc01b07782be0493ebcd – ContextCue Jul 17 '19 at 22:27

1 Answers1

0

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

Elad Amsalem
  • 1,490
  • 1
  • 12
  • 14