hirviid/react-redux-fetch

NodeList is not defined

Closed this issue · 4 comments

I'm getting the following error:

ReferenceError: NodeList is not defined
    at A:\razzle-boilerplate\node_modules\iterators-polyfill\polyfill.min.js:1:2570
    at Object.<anonymous> (A:\razzle-boilerplate\node_modules\iterators-polyfill\polyfill.min.js:1:2977)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (A:\razzle-boilerplate\node_modules\react-redux-fetch\lib\index.js:6:1)

Using the Razzle redux example.

Looks like Razzle doesn't like the Iterators polyfill and seamless-immutable. Looking into it!

I pushed a possible fix to develop. I tested this with the Razzle redux example and some other projects where we use react-redux-fetch. Could you test this with your examples? If it works I'll create a new patch version of the library.

With your changes it works for me aswell.

@Bram-Zijp Released version 0.12.6 !