摘要: Redux provides a convenient helper for combining many reducers called combineReducer, but it focuses in on specific attributes on our state, making it 阅读全文
posted @ 2019-02-07 22:10 Zhentiw 阅读(176) 评论(0) 推荐(0)
摘要: To add translation to the application: 'i18n' is for Angular CLI to extract all the string which need to be translated. Run: It will generate messages 阅读全文
posted @ 2019-02-07 21:13 Zhentiw 阅读(404) 评论(0) 推荐(0)
摘要: Proxies allow you to use functions that haven't yet been defined on an object. This means that you can invoke a function then create that function if 阅读全文
posted @ 2019-02-07 17:44 Zhentiw 阅读(433) 评论(0) 推荐(0)
摘要: If the user hasn't used your application for a few minutes, you may want to log them out of the application automatically in case they've stepped away 阅读全文
posted @ 2019-02-07 17:06 Zhentiw 阅读(689) 评论(0) 推荐(0)
摘要: Among the features introduced to the language of JavaScript in ES2019 is Array.prototype.flat. In this lesson we'll see just how easy the flat method 阅读全文
posted @ 2019-02-07 16:46 Zhentiw 阅读(155) 评论(0) 推荐(0)