一、React 1、知识点 一道字节面试题 2、react18中想在setState之后立即拿到最新的state,可以在setState外层包一层flushSync,funcshSync(()=>setState(XX)) 二、ES6 1、正则优化 学习地址