* Fix optional chaining bug regarding spread in function calls * Revamp optional-chain to be top down Instead of going both upwards and downwards from the first real optional expression, we can just start from the top down. * Add more tests
@babel/plugin-proposal-optional-chaining
Transform optional chaining operators into a series of nil checks
See our website @babel/plugin-proposal-optional-chaining for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-proposal-optional-chaining
or using yarn:
yarn add @babel/plugin-proposal-optional-chaining --dev