You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to call the callback method provided by read in a plugin, the error ReferenceError: setImmediate is not defined is thrown into the console.
setImmediate() is a non-standard API and shouldn't be used in frontend code.
Occurs in react-i18next version
Occurs in the latest version of react-i18next which is currently v10.5.0.
If you like this module don’t forget to star this repo. Make a tweet, share the word or have a look at our https://locize.com to support the devs of this project -> there are many ways to help this project 🙏
Describe the bug
When trying to call the
callback
method provided byread
in a plugin, the errorReferenceError: setImmediate is not defined
is thrown into the console.setImmediate()
is a non-standard API and shouldn't be used in frontend code.Occurs in react-i18next version
Occurs in the latest version of react-i18next which is currently v10.5.0.
https://github.com/i18next/react-i18next/blob/v10.5.0/src/utils.js#L32
OS (please complete the following information):
Additional context
We use a custom backend-plugin as described here, which eventually calls the
callback
from theread
property like here:The text was updated successfully, but these errors were encountered: