jnordberg / gif.js

JavaScript GIF encoding library
http://jnordberg.github.io/gif.js/
MIT License
4.78k stars 668 forks source link

Breaks React Dev Tools #99

Open gpmcadam opened 5 years ago

gpmcadam commented 5 years ago

Importing GIF.js on a React project in either Google Chrome or Firefox completely breaks the React Dev Tools extension. The dev tools crash completely and won't run, and cause the browser to become unresponsive.

Commenting out the import for GIF.js fixes the dev tools.

I suspect this is due to EventEmitter being remapped, but this is incredibly hard to debug.