3 ms·
Because if you are doing React and JSX you are already using JSTransform. If it gets you most of what you need, why add another dependency?
by wingspan 12y ago
Because if you are doing React and JSX you are already using JSTransform. If it gets you most of what you need, why add another dependency?
- lobster_johnson 12y agoTrue, but if you're using JSX on the server side, the dependency doesn't really cost anything. JSTransform's intended purpose, as far as I can see, is as a general-purpose syntax transformer (the ES6 transforms, of which there is only a handful, come as a bonus), whereas Traceur is a dedicated transpiler that is intended to be a complete implementation of ES6.