Now that Angular 2 is in beta, the time has come for us to drop everything and learn something new, again. The good news is, like React and Angular 1.x, Angular 2 is here to stay for a while so it’s a good investment to become productive with this ne
翻译自react的大部分文档,方便自己查阅. 目录 生命周期 实例化 存在期 销毁期 state Do Not Modify State Directly State Updates May Be Asynchronous State Updates are Merged The Data Flows Down 条件渲染(Conditional Rendering) 使用&&操作符替换if 使用?:替换if else Preventing Component from Rendering