Is there anything wrong with passing a value into a custom component like this? I noticed that when I console.log inside someFunction it is called many times when the component is loaded. Can someone explain?
HTML
<custom-component [someInput]=“someFunction(‘someParameter’)></custom-component>
TS
someFunction(someParameter) {
return someValue
}