When should we use useSpeak vs config vs runtime #125
Answered
by
robisim74
nelsonprsousa
asked this question in
Q&A
-
Hi, After reading the docs, I still have some questions for the community 😅
Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
robisim74
Apr 5, 2024
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nelsonprsousa
-
Got it. So basically we can follow a simple rule: if we want translations to work on the server side (first load) on the Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nelsonprsousa
assets
property ofspeak-config.ts
, but it is the simplest way, especially in small-medium sized apps. If your app is large, and there are different runtime files, or if you simply want to work with scoped translations, you can use the lazy translation: https://github.com/robisim74/qwik-speak/blob/main/docs/lazy-loading.md