Create-react-app: Add support for optional chaining and nullary coalescing

Created on 25 Jul 2019  路  8Comments  路  Source: facebook/create-react-app

Last discussion: https://github.com/facebook/create-react-app/issues/7246
Today both proposals reached stage 3. Could this be considered again?

proposal

Most helpful comment

Is there a plan for when this feature will be available? Does create-react-app v3.3 have an expected release date?

All 8 comments

Yes, I think now that it's reached stage 3 we would be willing to include it.

Specifically: https://github.com/tc39/proposal-optional-chaining/commit/9948e3db4481562fc4fa0114bbfd42ac9d654013#diff-3540caefa502006d8a33cb1385720803

I鈥檓 happy to submit a PR!

Edit: Nvm, someone beat me to it: https://github.com/facebook/create-react-app/pull/7438

Now that TypeScript 3.7 released, prettier/prettier#6657 was merged, typescript-eslint/typescript-eslint#1045 was merged, and babel/babel#10269 was merged, can we merge facebook/create-react-app#7438 soon? It doesn't seem there are any more blockers.

Edit: Looks like prettier plans to release tomorrow, November 8, 2019.

They did the thing! (sorry for spam, I _totally_ haven't been pressing the refresh button all day even though I'm subscribed for release notices)

Screenshot from 2019-11-08 16-16-43

Is there a plan for when this feature will be available? Does create-react-app v3.3 have an expected release date?

Not kidding - several times per day, I write code that would be so much cleaner and nicer if I could use optional chaining. I haven't been this hyped for a release since the original Starcraft hit store shelves :D

So, jokes aside, can we expect 3.3 any time soon?

We're still seeing a few issues with support for this within our tooling. We have a 3.3 issue you can follow for further updates, as well as instructions to use our beta version if you're eager! https://github.com/facebook/create-react-app/issues/7981

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stopachka picture stopachka  路  3Comments

onelson picture onelson  路  3Comments

ap13p picture ap13p  路  3Comments

adrice727 picture adrice727  路  3Comments

dualcnhq picture dualcnhq  路  3Comments