1.useState useEffect useLayouteffect
2.useMemo useCallback memo
3.useRef useForwardRef
4.useReducer useContext
5.useTransition useDeferedValue
掌握这些常见的内置Hooks非常重要
1.useState useEffect useLayouteffect
2.useMemo useCallback memo
3.useRef useForwardRef
4.useReducer useContext
5.useTransition useDeferedValue
掌握这些常见的内置Hooks非常重要