Hi,
We were developing an app with router settings like lazyDestroy, lazyCreate. Now we are modifying it to work on default settings. So we removed the router settings and trying to fix the issues which are coming up.
We are facing one error which is coming all over the app. Let’s say we have a pageA which can be opened from different pages of the app. The first time (lets say from pageB) it is working fine but after that if we open it again from different flow - say pageC, sometimes it is throwing this particular error related to states and its sharedPath.
I was looking for information about Component States - Change Events, and I found about event parameter. The event
parameter contains information to help identifying the state changes, for example:
{
newState: '',
prevState: '',
sharedState: ''
}
Can anyone help me out about what this sharedState is and what are different scenarios it can be used for ?