I tried to install react-i18next and I followed the official documentation. There’s a point, where it says import the i18n.js in the index.js file.
import './i18n'
However after I import the i18n.js, I get the following errors and all the pages crash:
Uncaught Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
I tried to check the full documentation, but I haven’t find any solution to the problem and haven’t find any mention what can cause this error.
New contributor
caelus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.