Create-react-app: Optional Chaining

Created on 13 Jun 2018  路  3Comments  路  Source: facebook/create-react-app

The latest RC of React Native supports optional chaining (a?.b, commit)

Is this something that should be added to CRA for consistency? Happy to send a PR!

Most helpful comment

Yeah, we're trying to be more cautious about things that aren't far enough on the standards track.

All 3 comments

https://github.com/tc39/proposal-optional-chaining = Stage 1

AFAIK CRA only supports a few proposals from Stage 3.
Not sure about using a Stage 1 proposals right now.

Yeah, we're trying to be more cautious about things that aren't far enough on the standards track.

Yea, it was just because React Native is supporting it by default!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alleroux picture alleroux  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

wereHamster picture wereHamster  路  3Comments

rdamian3 picture rdamian3  路  3Comments

JimmyLv picture JimmyLv  路  3Comments