L
L
Ler Den2018-04-28 15:32:26
Angular
Ler Den, 2018-04-28 15:32:26

Why is the page not refreshing after clicking on routerlink?

there is an artist page //artist/:id
on the same page there are links to other artists:

<a routerLink="//artist/{{similar.id}}">
    <b>{{similar.name}}</b>
</a>

when you click on the link, the page address changes, but the component itself is not reinitialized, it remains the same.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-04-28
@givemoneybiatch

Similar question discussion: https://stackoverflow.com/questions/40983055/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question