更新概述,不一定完整
1、useTransition: 允许将异步函数传给 startTransition 中
2、更新表单的一些用的:useActionState、useFormStatus、
3、useOptimistic
4、use :在组件中使用 use 来读取异步或 promise,react 会暂停该组件的渲染?,直到读取
5、不再使用 forwordRef,而是像 children 一样直接将 ref 包括在 porps 中
6、Context 不用加.Provider 了
7、ref 可以回调清理函数
8、在 useDeferredValue 中添加了 initialValue 选项
9、组件中可以直接编写 title、meta 等元数据,但是还是推荐使用react-helmet 库,而不是取代他们