Tekkaman

导航

 

2017年3月21日

摘要: 【State】 1、componentDidMount The componentDidMount() hook runs after the component output has been rendered to the DOM. This is a good place to set up 阅读全文
posted @ 2017-03-21 20:36 Tekkaman 阅读(147) 评论(0) 推荐(0)
 
摘要: 【props】 elements can also represent user-defined components: When React sees an element representing a user-defined component, it passes JSX attribute 阅读全文
posted @ 2017-03-21 14:31 Tekkaman 阅读(160) 评论(0) 推荐(0)
 
摘要: 【Functional and Class Components】 The simplest way to define a component is to write a JavaScript function: This function is a valid React component b 阅读全文
posted @ 2017-03-21 11:37 Tekkaman 阅读(228) 评论(0) 推荐(0)
 
摘要: 【招聘漂亮的员工】 无意中看到一个史晓燕的访谈,其中有一段她提到优先招聘漂亮的员工而不是丑陋的员工。原文如下。 史晓燕说她招聘女员工的时候很愿意用那些漂亮的女人,因为漂亮能给人带来愉悦。俗话说赏心悦目,第一印象“悦目”了,才会更容易有心情去欣赏对方的心灵,不是吗?对于这个问题,史晓燕说:“我曾经干过 阅读全文
posted @ 2017-03-21 11:27 Tekkaman 阅读(252) 评论(0) 推荐(0)