If I add in checkout inside the component's template something like this:
<a href="#" data-bind="click: myFunction()"></a>
console.log('myFunction executed') in component's function 'myFunction',
than it will log the message on page refresh.
I'm trying this on Magento 2.2.6.
This should not happen. Anyone knows why it does ?
I don't have other code that will trigger click event. I got this in onother component too. It seems like every click binding is executed on initialize or something.
Change bindings are not called on page refresh, just 'click'.