How to load library from CDN on React functional component?

前端 未结 0 349
面向向阳花
面向向阳花 2020-12-18 04:30

I\'m trying to use react-force-graph library via CDN on a React functional component, but I\'m stuck with the error shown below.

Script tag on index.html :

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题