kas-catholic / confessit-web

Source code for https://confessit.app
MIT License
18 stars 8 forks source link

Improve the Translations Loading State #12

Closed kas-catholic closed 2 years ago

kas-catholic commented 2 years ago

Our translations use i18next-http-backend to fetch translations, and we use React Suspense to do so. Currently, our "fallback" is a simple string. We could improve this with some kind of nice-looking Spinner component as in the example

<Suspense fallback={<Spinner />}>
kas-catholic commented 2 years ago

Consider using the logo, centered on the screen, maybe with a CSS fade in/out. Keep it relatively simple.