如何在渲染之前加载(new AssetLoader()).load(url);
1490113799 opened this issue · comments
1490113799 commented
如何在渲染之前执行(new AssetLoader()).load(url),在初始化ReactDOM对象前加载 libraryAsset.push('https://g.alicdn.com/code/lib/react/16.14.0/umd/react.production.min.js');
libraryAsset.push("https://g.alicdn.com/code/lib/react-dom/16.14.0/umd/react-dom.production.min.js");
这两个文件