Angular: ActivatedRoute does not update the child route data on route changes

twitter logo github logo ・1 min read

I'm tying to get the child route data('layout') from parent component using ActivatedRoute. I have tried the following example and I'm able to get the data I'm looking for but only for one time. During child route changes, I don't see the updated 'layout' value.

Routes

const routes: Routes
twitter logo DISCUSS
Classic DEV Post from Jun 9

Explain CI/CD like I'm five.

Explanation of CI/CD, discuss, developer

Andrei Gatej profile image
profile pic

Don't be a stranger

Create your DEV Profile