React Invariant Violation / Minified Exception on iOS 8 with Webpack + Babel
March 14, 2016TL;DR
I ran into a head-scratcher over the weekend that I needed document, because I spent a few more hours than I wanted to trying to see why a deployed project wasn’t working at all on iOS 8.4.
My project is using react, webpack, and babel. One of the babel plugins I’m using is babel-plugin-transform-react-inline-elements which transforms react elements to increase performance in production.
I’m also using the babel-polyfill (which includes the core-js shim) to polyfill some features like Symbols.
The project was working fine locally on iOS 8, but when deployed I was getting an error from react.