Closed
Description
Fresh app installation with create react app v2 and mapbox was added as first extra package. After run app in browser all I get in console is:
Uncaught ReferenceError: _typeof is not defined
mapbox-gl-js version: 0.49
browser: Google Chrome
Steps to Trigger Behavior
yarn create react-app mapbox-app
cd mapbox-app
yarn add mapbox-gl
- Add Mapbox initialization code in componentDidMount
yarn start
Expected Behavior
Display functional map container. Work without errors in console.
Actual Behavior
Display only canvas with solid background and get Uncaught ReferenceError: _typeof is not defined
in console few times.