摘要: Sometimes it’s desired to decide within an updater function if an update to re-render should be triggered. Calling .setState with null no longer trigg 阅读全文
posted @ 2017-09-28 22:26 Zhentiw 阅读(156) 评论(0) 推荐(0)
摘要: By default the React Component Tree directly maps to the DOM Tree. In some cases when you have UI elements like overlays or loading bars this can be l 阅读全文
posted @ 2017-09-28 20:59 Zhentiw 阅读(230) 评论(0) 推荐(0)
摘要: In this session we create a comment component to explore how to create components that only render text. In previous versions of we had to wrap our te 阅读全文
posted @ 2017-09-28 04:06 Zhentiw 阅读(175) 评论(0) 推荐(0)