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

Taro2 什么时候支持可选链和空值运算符 #9581

Closed
lupingW opened this issue Jun 21, 2021 · 3 comments
Closed

Taro2 什么时候支持可选链和空值运算符 #9581

lupingW opened this issue Jun 21, 2021 · 3 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x

Comments

@lupingW
Copy link

lupingW commented Jun 21, 2021

相关平台

微信小程序

复现仓库

https://github.com/didi/mpx
小程序基础库: 2.17.3
使用框架: React

复现步骤

期望结果

支持

实际结果

不支持

环境信息

👽 Taro v3.1.4


  Taro CLI 3.1.4 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.17.1 - C:\Program Files\nodejs\node.EXE
      npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD  
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x labels Jun 21, 2021
@raymond-cat
Copy link

要babel7才支持,taro2是babel6

@lupingW
Copy link
Author

lupingW commented Jun 22, 2021

要babel7才支持,taro2是babel6

这个我知道 我想我问的是能不能实现 taro2 用babel7

@Chen-jj
Copy link
Contributor

Chen-jj commented Jun 22, 2021

Taro2 不考虑迭代新功能了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x
Projects
None yet
Development

No branches or pull requests

3 participants