-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3 - React / Redux #3
Comments
受控组件和非受控组件
|
Node使用场景
|
JS为什么单线程?
|
React事件流合成机制 SyntheticEvent
componentDidMount () {
document.getElementById('child').addEventListener('click', function() {
console.log('document')
})
}
handleChild = () => {
console.log('儿子')
}
<div onClick={this.handleChild} id="child">儿子</div> 本质: 利用冒泡机制,冒泡到document |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
React.js
[React] 1 - 组件是什么? Virtual Dom?
[React] props vs state ?
[React] 2 - 生命周期
[React] 3 - 自动绑定 (事件绑定)
[React] 4 - setState / 异步还是同步?
[React] 无关平台
[React] 5 - react / react-dom
[React] 6 - React Fiber 基于浏览器的单线程调度算法
[React] 7 - 组件通信
[React] Ref
可以用于获取一个 DOM 节点或者 React 组件的引用
[React] super(props)
[React] 8 - React 自身或工程性能优化点?
[React] 9 - Redux 图解原理
[React] 10 - HOC高阶组件 / React Hook
[React] 11 - diff算法 / 算法简单实现 (15版以下)
[React] 12 - React16 VDOM 链表结构
[React] 13 - SSR / CSR / Isomorphism
The text was updated successfully, but these errors were encountered: