Upgrade to TS 3.1 and React 16.5
Breaking changes:
-
injectCSS no longer inject a custom style but require mapbox-gl css file, it is now required for you to have a loader that allow you to import css file or set it to false.
-
React 6 and below is no longer supported, react-mapbox-gl is using the new context API.