Storing JWTs and other critical details in local storage is not a good practice. This has assocaited security risk.
For persisting the login details to re-examine the user logged in details can be handle by storing some sort of flat eg: isLoggedIn. The JWT token has to be in cookie, and mark that httpOnly.