nehalist
Has anyone ever used tRPC (with SSR) and i18n?
as far as I understand that should certainly fix this, ya, but also means that I cannot use tRPC queries directly within my components anymore and requires some major refactoring on my existing app
35 replies
Has anyone ever used tRPC (with SSR) and i18n?
well, I don't understand anything at all anymore:
as soon as I wrap my app in an
I18nProvider
the dom becomes "Loading..." which comes from tRPC
but without the i18n provider everything is fine. hopefully this repo can help: https://github.com/nehalist/trpc-i18n35 replies
Has anyone ever used tRPC (with SSR) and i18n?
while it seems to work, there's this weird behavior of as soon as I wrap my app in the
I18nProvider
my dom (ctrl+u) is suddenly empty and it seems SSR becomes completely broken. without the wrapping container all my data is inside the dom35 replies
Has anyone ever used tRPC (with SSR) and i18n?
Additionally, there's already an issue at your side - seems like you guys can't fix that: https://github.com/trpc/trpc/issues/596
35 replies