Angular 路由器的 Quicklink 预取策略
routerLink **(使用 Intersection Observer)* **等待浏览器处于空闲状态 **(使用 requestIdleCallback)* **检查用户是否处于慢速连接中 **(使用 navigator.connection.effectiveType) 或是否已启用数据节省模式 **(使用 navigator.connection.saveData)* 使用 Angular 的预加载策略预加载懒加载模块然后将 QuicklinkModule 导入到 AppModule 中,并在路由器配置中将 QuicklinkStrategy 设置为 preloadingStrategy。例如:
暂无开放 Issues,或尚未同步最近议题。