下一节有关预加载与按需加载的描述将有助于您理解这两种方法的权衡。
The next section on preloading vs. load on demand will help you understand the tradeoffs inherent in making this decision.
但是如果页面动态创建了一个标记来按需加载数据,那么就很有必要知道标记是何时完成的。
But when the page creates a tag on the fly to load data on request, it's important to know when that tag is complete.
为何?单独的组件通常是该文件默认的导出,可以用路由器实现按需加载。
Why? A single component can be the default export for its file which facilitates lazy loading with the router.
采用这个标准的应用程序需要一个模块加载器来按需加载模块,并解析模块间的依赖关系。
An application that adheres to this standard requires a module loader to load modules on request, and resolve inter-module dependencies.
单独的组件通常是该文件默认的导出,可以用路由器实现按需加载。
A single component can be the default export for its file which facilitates lazy loading with the Router.
单独的组件通常是该文件默认的导出,可以用路由器实现按需加载。
A single component can be the default export for its file which facilitates lazy loading with the Router.
应用推荐