-
這個好像有點問題查看全部
-
getDefaultProps: receive props from outsize
getInitialState: set default state object
componentWillMount: component will about to mount
componentDidMount: component is just mount
shouldComponentUpdate: should component update? return true or false
componentWillUpdate: component is about update
componentDidUpdate: compoent is just updated
查看全部 -
SPA 單頁模型
困難
如何保持數據與 UI 同步更新
如何提高 DOM 操作的效率
HTML 開發 UI 界面異常復雜
查看全部 -
Python -m http:server查看全部
-
python 跑數據庫:python http server查看全部
-
可以啊,入門課程。
查看全部 -
getInitialState組件在被瀏覽器調用之前加載,用作初始化(組件內部數據)
查看全部 -
kkjk
Ssssssssssssssssssssssssssss
查看全部 -
組件把界面繪制的邏輯包裝起來,通過給組件傳入不同的參數,進而改變組件在界面中顯示形態,同時組件可以轉化成多個簡單的組件的組合。
查看全部 -
ReactDom.render兩個參數:
1.jsx 對象 會把傳入的對象進行組織表述出來,react 會把它轉化為creteElemet調用,會在瀏覽器中添加相應的dom元素,進而改變dom模型后,使得瀏覽器在渲染后作出改變。
2.dom元素要掛載的節點。
查看全部 -
react銷毀當前組件ReactDOM.unmountComponentAtNode(id)
查看全部 -
getDefaultProps 返回的是this.props
getInitialState? 返回的是 this.state查看全部 -
react組件生命周期函數
查看全部 -
三點操作符實現2個樣式對象的融合
查看全部 -
setState 來修改組件默認初始化的state值
查看全部
舉報