Nx: Support typescript 3.7.4 and optional chaining for React

Created on 14 Jan 2020  路  3Comments  路  Source: nrwl/nx

_Please make sure you have read the submission guidelines before posting an issue_

Expected Behavior

Will @nrwl/react support typescript 3.7.4 and optional chaining?

react feature

Most helpful comment

The bump to 7.8.0 will be in the next version. PR is here https://github.com/nrwl/nx/pull/2346

All 3 comments

It seems we need to add Babel plugins in webpack.config.js https://github.com/nrwl/nx/issues/1931#issuecomment-571398087 to use Optional Chaining because Nx currently uses @babel/[email protected].
https://github.com/nrwl/nx/blob/master/packages/web/package.json#L45

easiest solution would be to bump to latest babel 7.8 and babel-preset which supports those features by default

The bump to 7.8.0 will be in the next version. PR is here https://github.com/nrwl/nx/pull/2346

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joelmuskwe picture joelmuskwe  路  3Comments

jasedwards picture jasedwards  路  3Comments

zpydee picture zpydee  路  3Comments

IonFoXx picture IonFoXx  路  3Comments

elliotmendiola picture elliotmendiola  路  3Comments