摘要: Add functional function such as change state, this should have tests covered. For example, in a component, there is a function call 'addBox': Here we 阅读全文
posted @ 2017-01-31 21:11 Zhentiw 阅读(165) 评论(0) 推荐(0)
摘要: In React app, you might create lots of components. We can use index.js to do both 'import' & 'export'. When using it, we just need to import the folde 阅读全文
posted @ 2017-01-31 20:08 Zhentiw 阅读(176) 评论(0) 推荐(0)
摘要: The Chrome console allows you to format messages using CSS properties. This lesson walks you through the syntax of formatting your logs with css then 阅读全文
posted @ 2017-01-31 16:40 Zhentiw 阅读(195) 评论(0) 推荐(0)
摘要: To understand how change detection can help us improve the proference, we need to understand when it works first. There are some rules which can be ap 阅读全文
posted @ 2017-01-31 01:16 Zhentiw 阅读(1387) 评论(0) 推荐(0)