摘要: Due to the way that React Context Providers work, our current implementation re-renders all our compound component consumers with every render of the  阅读全文
posted @ 2018-08-29 03:34 Zhentiw 阅读(498) 评论(0) 推荐(0)
摘要: If someone uses one of our compound components outside the React.createContext <ToggleContext.Provider />, they will experience a confusing error. We 阅读全文
posted @ 2018-08-29 03:32 Zhentiw 阅读(271) 评论(0) 推荐(0)
摘要: Recentlly works with AngularJS + ocLazyLoad, our project have break down into multi small modules. For example mainApp module | -- vendor module | -- 阅读全文
posted @ 2018-08-29 00:48 Zhentiw 阅读(251) 评论(0) 推荐(0)
摘要: There is now a new, recommended, way to register a provider, directly inside the @Injectable() decorator, using the new providedIn attribute. When you 阅读全文
posted @ 2018-08-29 00:34 Zhentiw 阅读(1702) 评论(0) 推荐(0)