You need to sign in to do that
Don't have an account?
Rahul Yadav 272
lwc navigation (navigationmixin) currentpagereference becomes undefined and won't navigate?
Hi Everybody,
I'm facing problem when i trying to navigate to previous page in community ex.( page 3 => page 1). with new parameters passed in the url. but, the parameters are passed Immediately in the URL and navigation takes some time.For that small time-frame the variables populated with the url parameters in current page i.e (3) becomes undefined.
What can be the Solution to avoid the undefined error for those few seconds ? Thanks in advance
I'm facing problem when i trying to navigate to previous page in community ex.( page 3 => page 1). with new parameters passed in the url. but, the parameters are passed Immediately in the URL and navigation takes some time.For that small time-frame the variables populated with the url parameters in current page i.e (3) becomes undefined.
What can be the Solution to avoid the undefined error for those few seconds ? Thanks in advance