Samnan
Samnan

Reputation: 653

React / Redux issue with middleware / thunk

I have a large react app that works great on edge, chrome, firefox, safari 11+ etc, however I am facing a strange issue on Safari 10 and IE11. The action/reducer for for login just does not seem to be called in the app in these two browsers. On login screen, button click works, but as soon as the dispatch is called for login action, it just goes into a void, there is no error in console, no network request. I have tried many combinations of babel polyfills, presets, transforms, and after much effort it has come down to the conclusion that it has something to do with the redux-thunk. SInce login never works, I am assuming any other network requests in app will not be working either.

Anyone encountered the same issue and found a solution, would be grateful for your help.

Thanks

Upvotes: 1

Views: 213

Answers (0)

Related Questions