3

Some developers suggest avoiding ES6 syntax in JS files to keep the entire codebase unified with a single JS standard.

After examining the vendor folder I saw some modules use es6 For example vendor/vertexinc/module-tax/view/base/web/js/form/element/custom-option-flex-field-select.js.

So, that's why I have doubts about the statement about avoiding using es6 syntax.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.