When hitting the reload button of the browser the web Browser looses all data and the state of my angular application. This also includes the authentication information, since I am using JWT stored in a service value.
I do not care about loosing the data, since - as several users might work on the same set of data, reloading the data from the server is a good idea. But having the user to reauthenticate is annoying... for the user.
So what is your best practice and recommended way to either avoid browser reload or browser navigation or produce a good user experience in another way?
댓글 없음:
댓글 쓰기