Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for optional chaining and nullary coalescing #7431

Closed
lissitz opened this issue Jul 25, 2019 · 8 comments · Fixed by #7438
Closed

Add support for optional chaining and nullary coalescing #7431

lissitz opened this issue Jul 25, 2019 · 8 comments · Fixed by #7438
Assignees

Comments

@lissitz
Copy link

lissitz commented Jul 25, 2019

Last discussion: #7246
Today both proposals reached stage 3. Could this be considered again?

@jasonmcaffee
Copy link

Proposal status updated here:
https://github.com/tc39/proposal-optional-chaining

@iansu
Copy link
Contributor

iansu commented Jul 25, 2019

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

@jflayhart
Copy link

jflayhart commented Aug 12, 2019

Specifically: tc39/proposal-optional-chaining@9948e3d#diff-3540caefa502006d8a33cb1385720803

I’m happy to submit a PR!

Edit: Nvm, someone beat me to it: #7438

@jpangelle
Copy link

jpangelle commented Nov 7, 2019

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.

@iansu iansu pinned this issue Nov 8, 2019
@evankennedy
Copy link
Contributor

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

@danny-does-stuff
Copy link

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

@MWallenberg
Copy link

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?

@ianschmitz
Copy link
Contributor

ianschmitz commented Nov 16, 2019

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! #7981

@facebook facebook locked and limited conversation to collaborators Nov 16, 2019
@ianschmitz ianschmitz unpinned this issue Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants