react-interview icon indicating copy to clipboard operation
react-interview copied to clipboard

卡老师视频详解React面试题

Results 3 react-interview issues
Sort by recently updated
recently updated
newest added

## 简介 1. 聊聊`useEffect`的第二个参数如何影响`useEffect`回调函数的执行 2. `useEffect`回调函数与`componentDidMount`的执行时机 [视频在此🙋‍♂️](https://mp.weixin.qq.com/s/ksnXdQ4YT41mPQNzlyKhgA) ## 资料 [聊聊react的生命周期函数](https://github.com/BetaSu/react-interview/issues/2)

## 简介 从调用`this.setState`到视图更新,这个过程是**同步**还是**异步**的? [视频在此🙋‍♂️](https://www.bilibili.com/video/BV1df4y1C7P9) ## 资料 [在线demo](https://codesandbox.io/s/practical-napier-0lkfe?file=/src/index.js) [Concurrent模式介绍](https://zh-hans.reactjs.org/docs/concurrent-mode-adoption.html) [batchedUpdates源码](https://github.com/facebook/react/blob/17.0.1/packages/react-reconciler/src/ReactFiberWorkLoop.old.js#L1117-L1130) [executionContext === NoContext源码](https://github.com/facebook/react/blob/17.0.1/packages/react-reconciler/src/ReactFiberWorkLoop.old.js#L581-L589)

## 简介 聊聊`React`的**生命周期函数**执行的过程? [视频在此🙋‍♂️](https://www.bilibili.com/video/BV16t4y1r7oJ) ## 资料 ![image](https://user-images.githubusercontent.com/15828041/104112582-84b3b100-532b-11eb-96cc-185f14b699ac.png) [在线demo](https://codesandbox.io/s/restless-currying-pxz52?file=/src/App.js) [React技术揭秘](https://react.iamkasong.com/)