Closed stevenreddie closed 6 years ago
Thanks! This is due to the CodeMirror JS mode not recognizing syntax like import A, { B } from 'c'
. I'm using an outdated fork of CodeMirror where I hackily added better ES6 and JSX support. Probably updating CodeMirror will solve this (presumably it's fully compatible with ES6 now)... although might make JSX support worse. Will just have to try it and see.
I'm probably just not going to fix this, since it's pretty minor.
Hi, I noticed in Chrome (Mac; 57.0.2987.133) that http://dabbott.github.io/react-native-web-player/ and also the official Tutorial render the first 'from' below in black, whereas the second is light-blue:
I can provide a screenshot if useful.
Thanks, Steven