Coming from a VueJS background to Blazor, I can't find an equivalent to the Vue watcher in Blazor.
To elaborate, in Vue, one could watch for changes on a certain property, for example:
watch: {
somethingId(newValue) {
// Do something, this actually watches the somethingId for change and trigger this function
}
}
I can't seem to find an equivalent to Blazor, I tried to achieve that using a custom property's getter/setter but this does not work in all cases (it is actually more similar to computed properties in vue and not a watch).
Is there a way to achieve this?
