# 深入React

《深入React技术栈》 => 完成
《你不知道的JavaScript 上卷》 => 进行中

## React

### 特别要提到的setState

This form of setState() is also asynchronous, and multiple calls during the same cycle may be batched together. For example, if you attempt to increment an item quantity more than once in the same cycle, that will result in the equivalent of:

Subsequent calls will override values from previous calls in the same cycle, so the quantity will only be incremented once. If the next state depends on the previous state, we recommend using the updater function form, instead:

FAQ State

## 重新认识JavaScript

1. 编译器、引擎和作用域之间的关系
2. 词法作用域和动态作用域的工作原理