Should I use Traceur instead of Typescript to target ES5 but be ready for ES6

前端 未结 6 1893
南笙
南笙 2021-02-01 06:41

I\'m working on a large code base that could benefit from Typescript, but since eventually the world will be moving to ES6, should I steer the development towards Traceur?

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-01 07:23

    I would definitely recommend going the ES6 route.

    For anyone else landing on this question, go and check out tagtree's videos on ES6 features.

    To see template strings, arrow syntax and desctructuring, have a look at this free tagtree tutorial screencast, no registration is required.

提交回复
热议问题