Allow parsing of optional chaining on the left-hand side of assignment expressions
See our website @babel/plugin-syntax-optional-chaining-assign for more information.
Using npm:
npm install --save-dev @babel/plugin-syntax-optional-chaining-assign
or using yarn:
yarn add @babel/plugin-syntax-optional-chaining-assign --dev