I have one root module with two feature module. And i will load the first feature module with route /one. And in that /one routes components ngOnInit() lifecycle hook i am opening one modal. And that will be closed before filling the form.
And then i route to /two routes component, but in this component ngOnInit() hook i don't have any modal to open, but still the same modal which i opened in /one is getting opened.
Any idea why /one ngOnInit() hook is invoked while routing to /two ngOnInit() hook?
Thanks in Advance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…