Constructor and lifecycle events fires multiple times


Noticed Constructor and Life cycled methods getting called multiple times only in case of deeplinking i.e. when we try to load page directly.

Ex: If I go directly to http://localhost:8100/#/DetailsPage/1, then it triggers multiple times.

I am new to Ionic , Can some one please help me , how to trace which part of the code can trigger it automatically or is there a way to print tracktrace ?

I am doing Nav.push(‘DetailPage’) only once from app.component.ts file.




Can you share your code here?