摘要: We can view the PWA offline because we are caching the static and CDN assets for the app - but the list of todo items won't display, because those API 阅读全文
posted @ 2018-12-28 21:13 Zhentiw 阅读(290) 评论(0) 推荐(0)
摘要: Our service worker caches our static assets - but only those assets that are included in our React App. This means that assets like Bootstrap, which w 阅读全文
posted @ 2018-12-28 21:09 Zhentiw 阅读(1091) 评论(0) 推荐(0)
摘要: The default service worker that comes with create-react-app doesn't allow for very much configuration. We'll replace that default service worker in tw 阅读全文
posted @ 2018-12-28 20:56 Zhentiw 阅读(1036) 评论(0) 推荐(0)
摘要: The k-nearest neighbors algorithm is used for classification of unknown items and involves calculating the distance of the unknown item's neighbors. W 阅读全文
posted @ 2018-12-28 20:09 Zhentiw 阅读(167) 评论(0) 推荐(0)
摘要: It is not clear in the Docs about {read: xx} option for @ViewChild. Based on the Source code, @ViewChild as view as Component, ElementRef, TemplateRef 阅读全文
posted @ 2018-12-28 18:40 Zhentiw 阅读(383) 评论(0) 推荐(0)