Sourced from i18next-resources-to-backend's changelog.
1.3.0
- fix: a loader without a callback calls the i18next callback only once. When that callback threw (for example from a
loadedlistener or the callback ofinitorloadNamespaces), it was called a second time with that error, so i18next marked the namespace that had just loaded as failed. The error now reaches your app: thrown from the call that started the load for a loader that returns a value, and an unhandled rejection for a loader that returns a promise, which ends a Node.js process unless you handleunhandledRejection. Thanks@​SudeepGowda55(#17)