This content originally appeared on Babel Blog and was authored by Nicolò Ribaudo
We just released a new minor version of Babel!
This 7.10 release includes:
- Full support for the new Stage 1 proposal,
#prop in obj
checks for private fields proposal. @babel/preset-env
now compiles ES2015-style Unicode escapes (\u{Babe1}
) to the equivalent legacy syntax (\uDAAA\uDFE1
).- Two improvements to the Optional Chaining operator (
?.
) - Parser support for the new Stage 1 Module Attributes proposal (
import a from "./a.json" with type: "json"
). - Better tree-shaking support for React code (i.e.
React.memo
)! - Setting up RFCs repo and GitHub Discussions pages!
You can read the whole changelog on GitHub.
This content originally appeared on Babel Blog and was authored by Nicolò Ribaudo

Nicolò Ribaudo | Sciencx (2020-05-25T06:00:00+00:00) 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking. Retrieved from https://www.scien.cx/2020/05/25/7-10-0-released-class-fields-in-preset-env-private-in-checks-and-better-react-tree-shaking/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.