enqueuing React script and hooking its target div fails to load script

I had a similar issue within WordPress a few days ago but it doesn’t really have anything to do with WordPress. Simply put, your code is loading the babel-polyfill library twice somehow. Most commonly it can happen if you’re using the library yourself and on top of that a third-party library is including that too.

The solution at Babel’s Github worked out well for me.

Leave a Comment

tech