In checkout, shipping.js file included by xml. that means inside checkout_index_index.xml.
<item name="component" xsi:type="string">Magento_Checkout/js/view/shipping</item>
So my need: add some functionality to initialize method without changing in main method.
something like :
initialize: function () {
//call main method
// custom functionality
},
What is the best way to modify some code of shipping.js ?