为什么不推荐使用 JSX Transform?使用 Babel 比 JSX 转换有什么优势?

Why JSX Transform is deprecated? What is the advantage of using Babel over JSX transform?

自从开始阅读 React,我了解了 JSX 和 Babel。在 Babel 之前,JSX 转换器 [React 工具] 用于将 JFX 语法转换为浏览器可理解的格式。现在 Babel 取代了它的位置。我的观点是,为什么他们更换了 JFX 变压器?它有什么缺点吗?

嗯,Babel 有很多优点,比如可以和其他各种工具集成,可以编译 ES6 代码。 FB 这里有一个 post:

https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html

如果您 Google,周围会散布一些文章。基本上很多 web 应用程序都使用 Babel,它很棒并且可以进行 JSX 转换以及所有其他 JS 编译