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
updateConfig
Describe the issue:
The updateConfig function from the useAuthContext hook, doesn't seem to update the context of the SDK after it's been initialized.
useAuthContext
How to reproduce:
Initial SDK Config
{ storage: "sessionStorage" }
Update the storage on the fly.
const { updateConfig } = useAuthContext(); updateConfig({ storage: "webWorker" });
This doesn't update the SDK to web worker. Validate with React Dev Tools as well.
Expected behavior:
SDK context should be updated.
Environment information (Please complete the following information; remove any unnecessary fields) :
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the issue:
The
updateConfig
function from theuseAuthContext
hook, doesn't seem to update the context of the SDK after it's been initialized.How to reproduce:
Initial SDK Config
Update the storage on the fly.
This doesn't update the SDK to web worker. Validate with React Dev Tools as well.
Expected behavior:
SDK context should be updated.
Environment information (Please complete the following information; remove any unnecessary fields) :
The text was updated successfully, but these errors were encountered: