2016年1月7日

摘要: 1. if you know all the propertities that you want to place on a component ahead of time,it is easy to use JSX:var component = 2. This is an anti-patte... 阅读全文
posted @ 2016-01-07 14:02 Jodie*Blog 阅读(893) 评论(0) 推荐(0) 编辑
 
摘要: JSX------HTML tags vs React Components: 1.To render a html tag,just use lower-case tag names in JSX; var myDivElement = ;React.render(myDivElement, d... 阅读全文
posted @ 2016-01-07 13:30 Jodie*Blog 阅读(522) 评论(0) 推荐(0) 编辑