I\'ve been trying to find a simple solution.
I have a for loop displaying a list of items. clicking on one of the items routes you to the detailed component and I just wa
Objects passing by routing is limited options. Using a service is the better option. If you provide a service instance by the parent component, then the same instance gets injected in parent and child and you have the shared data available immediately.
https://stackblitz.com/edit/angular-6-communicating-between-components-1gunkw?file=app%2Fapp.component.ts