When it comes to sharing data between two directly related components (parent-child), there are a few options available such as @ViewChild and @Output. While @ViewChild provides more control and requires coding in the parent component, @Output involves coding within the child component.
Which option is better suited for our scenario?