Hi Luis,
I’m using this: https://auth0.com/docs/quickstart/spa/react/05-token-renewal – so the code is essentially identical to: https://github.com/auth0-samples/auth0-react-samples/tree/master/05-Token-Renewal
And I just check isAuthenticated() to see if the user is logged in.