React 16.6 引入了一个新的API: React.lazy() ,可以帮助我们动态加载组件。 如以下代码:. import React from 'react'; import OtherComponent from ...
確定! 回上一頁