Opening this issue for a discussion regarding when components emit a new event on their stream indicating that their state has changed.
Some components only emit changes when a user interacts with them (e.g. MatPaginator) but do not emit when a programmatic change has occurred. When listening for changes, it may be irrelevant why a value has been changed. E.g. the data source does not care if the page index changes due to a programmatic change or through an Input().
On the other hand, some components may only want to listen to changes made by users and not programmatic ones, especially if it is the listener who made the change.
Opening this issue for a discussion regarding when components emit a new event on their stream indicating that their state has changed.
Some components only emit changes when a user interacts with them (e.g.
MatPaginator
) but do not emit when a programmatic change has occurred. When listening for changes, it may be irrelevant why a value has been changed. E.g. the data source does not care if the page index changes due to a programmatic change or through an Input().On the other hand, some components may only want to listen to changes made by users and not programmatic ones, especially if it is the listener who made the change.
Any opinions are welcome here