I don't understand how computed() works. How does Angular knows when to update it ? I don't see anything that can trigger its update in the following code, but it actually gets updated each time a new value is sent in chartData. import { Component, computed, input } from '@angular/core'; import { ComponentChartData } from '../../../../models/component'; @Component({ selector: 'app-chart', standalone: true, templateUrl: './chart.component.html', styleUrl: './chart.component.scss', }) export class ChartComponent { chartData = input.required<ComponentChartData>(); datasets = computed(() => this.chartData().datasets); } Continue reading...