问题:使用webstrom开发react-native时react-native代码会出现红色下划线的解决方法
解决方法:webstrom ->preferences->Laugranges&Frameworks->javascript->选择JSXHarmony