Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amoursun opened this issue Sep 27, 2022 · 1 comment

Comments

@amoursun
Copy link

No description provided.

@otakustay
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants