Should the default babel preset be bringing in optional chaining? The readme mentions it does, but the dependencies don't bring it in.
It'd be good to understand the direction one way or another, I'm happy to patch either scenario to help alleviate confusion.
@lukewhitehouse whoops, yeah!
I don't have a strong preference here. I think we want to offer a safe, optimized preset that others can _extend_ if they desire. I'd say we tweak the README, but I'm open to including the plugin if you think that makes sense.
What do you think?
@dschau thanks for getting back to me. I鈥檇 agree, as the spec is still in proposal stage it may be best to wait for further adoption before adding it to a basic preset like this.
I鈥檒l get a PR in soon 馃槉
Now that optional chaining has been shipped in typescript and vscode, I think it would be nice to add optional chaining to gatsby preset.
What do you think ?
https://code.visualstudio.com/updates/v1_40#_building-vs-code-with-typescript-37
Most helpful comment
Now that optional chaining has been shipped in typescript and vscode, I think it would be nice to add optional chaining to gatsby preset.
What do you think ?
https://code.visualstudio.com/updates/v1_40#_building-vs-code-with-typescript-37