Created
October 5, 2020 03:25
-
-
Save shahmir811/6733cc1b9c42670fec464fe424423f3c to your computer and use it in GitHub Desktop.
Added i18next.js in index.js file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Suspense } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import * as serviceWorker from './serviceWorker'; | |
import './i18next'; | |
ReactDOM.render( | |
<Suspense fallback={<div>Loading ...</div>}> | |
<App /> | |
</Suspense>, | |
document.getElementById('root') | |
); | |
// If you want your app to work offline and load faster, you can change | |
// unregister() to register() below. Note this comes with some pitfalls. | |
// Learn more about service workers: https://bit.ly/CRA-PWA | |
serviceWorker.unregister(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment