We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When logout is clicked, there is a compute that cycles a lot times (happens in dev, and with optimized build).
If you have the dev-tools open you can see it hitting the else in the code below a bunch of times:
else
// can-connect-feathers/session/session getData: function() { return new Promise(function(resolve, reject) { var tokenLocation = options.tokenKey || options.cookie; if (hasValidToken(tokenLocation) && !window.doneSsr) { feathersClient .authenticate() .then(function(data) { var payload = decode(data.accessToken); return resolve(payload); }) .catch(reject); } else { reject(new errors.NotAuthenticated("Not Authenticated")); } }); }
I added a console.log before the rejection and:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When logout is clicked, there is a compute that cycles a lot times (happens in dev, and with optimized build).
If you have the dev-tools open you can see it hitting the
else
in the code below a bunch of times:I added a console.log before the rejection and:
The text was updated successfully, but these errors were encountered: