2017-05-30 4 views
0

私はReact jsアプリケーション内でGoogleマップを使用しています。私はGoogleマップファイルをインクルードする場合、JSとGoogleマップのエラーに対応する

<script src="//maps.googleapis.com/maps/api/js?key=api_key"></script> 

数秒後にGoogleの認証呼び出しが行われると、それは戻って、私が手:

Warning: Something is calling a React component directly. Use a factory or JSX instead. See: url 
[168]</warning(condition=false, format="Something is calling a R....me/react-legacyfactory")dev-script.js (line 32928) 
Number(props="8080", context=undefined, updater=undefined)dev-script.js (line 18728) 
_.Dk(a=Object { type="object"}, b="8080")common.js (line 17) 
_.Bk(a="http://localhost:8080/app/dist/js/init.js", b=undefined)common.js (line 16) 
DB.prototype.j()util.js (line 219) 
js?v=3.exp&key=AIzaSyD1oZ-Do7cZYvwYIRGkMI2qpVmv1Vw6AU8(a=Object { type="object"}, b=Object { type="object"})js?v=3....1Vw6AU8 (line 133) 
Xc/e<()js?v=3....1Vw6AU8 (line 53) 
_.Mc/<()js?v=3....1Vw6AU8 (line 50) 
Xc/</<(a=Object { type="object"})js?v=3....1Vw6AU8 (line 53) 
Rc.prototype.ib/</d[a]<()js?v=3....1Vw6AU8 (line 104) 
_.Mc/<()js?v=3....1Vw6AU8 (line 50) 
Rc.prototype.ib/</d[a]<()js?v=3....1Vw6AU8 (line 104) 
_.Mc/<()js?v=3....1Vw6AU8 (line 50) 
Rc.prototype.ib/<(e=Object { type="object"})js?v=3....1Vw6AU8 (line 104) 
Sc(a=Object { type="object"}, b=Object { type="object"})js?v=3....1Vw6AU8 (line 52) 
Rc.prototype.ib(a="util", b=Object { type="object"})js?v=3....1Vw6AU8 (line 104) 
util.js()util.js (line 1) 

私は含まれていない場合は、エラーが表示されなくなりますGoogleマップファイル

+0

0

私はNumberを使用していた変数です。 Googleマップもそれを使用しています。衝突を引き起こした。

関連する問題