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

部分hook babel 处理不完全, 低版本浏览器不兼容 for (const xxx)

Open amoursun opened this issue 2 years ago • 1 comments

amoursun avatar Sep 27 '22 12:09 amoursun

从兼容性、代码体积等角度考虑,统一转义到了ES2015版本,更低的就不支持了。如果需要更低,建议把node_modules/@ecomfe/react-hooks加到babel处理的规则里

otakustay avatar Sep 28 '22 08:09 otakustay