I have a simple login form where username and password are signals and then I have a computed property, which shows if the login button is enabled or not.
username = signal('')
password = signal('')
isDisabled = computed(() => {
const username = this.username()
const password = this.password()
return username == '' || password = ''
})
I put console outputs everywhere and when I first load the page every change will show in the console and will show that isDisabled is recalculcated. Then I navigate away from the page and navigate back to it within angular (no hard reload).
Now the inputs still trigger the username and password signals to change, but the computed() function is not called anymore.
I’m using angular version 17.3.9 right now.