The way i'm using my t and Translated component helpers I think is resulting in both languages being sent in javascript bundles, resulting in slightly larger file sizes than necessary, for use after React re-hydrates the DOM. I'd like to look into optimizing/fixing this, possibly by writing a custom babel plugin, or some other way.
The way i'm using my
t
andTranslated
component helpers I think is resulting in both languages being sent in javascript bundles, resulting in slightly larger file sizes than necessary, for use after React re-hydrates the DOM. I'd like to look into optimizing/fixing this, possibly by writing a custom babel plugin, or some other way.