7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking

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 equiv…


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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking." Nicolò Ribaudo | Sciencx - Monday May 25, 2020, https://www.scien.cx/2020/05/25/7-10-0-released-class-fields-in-preset-env-private-in-checks-and-better-react-tree-shaking/
HARVARD
Nicolò Ribaudo | Sciencx Monday May 25, 2020 » 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking., viewed ,<https://www.scien.cx/2020/05/25/7-10-0-released-class-fields-in-preset-env-private-in-checks-and-better-react-tree-shaking/>
VANCOUVER
Nicolò Ribaudo | Sciencx - » 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking. [Internet]. [Accessed ]. Available 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/
CHICAGO
" » 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking." Nicolò Ribaudo | Sciencx - Accessed . https://www.scien.cx/2020/05/25/7-10-0-released-class-fields-in-preset-env-private-in-checks-and-better-react-tree-shaking/
IEEE
" » 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking." Nicolò Ribaudo | Sciencx [Online]. Available: https://www.scien.cx/2020/05/25/7-10-0-released-class-fields-in-preset-env-private-in-checks-and-better-react-tree-shaking/. [Accessed: ]
rf:citation
» 7.10.0 Released: Class Fields in preset-env, ‘#private in’ checks and better React tree-shaking | Nicolò Ribaudo | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.