正如大家看到的那样,我的每一个react组件中都引入了
import React from 'react'; import ReactDOM from 'react-dom';
我想知道有没有方法一次引入,一劳永逸的写法呢?