Replies: 1 comment 1 reply
-
Solution 2 is better... you always need to pass down the initialized t function |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have
helper.ts
files across my app that contains shared variables and I want to update the text values so they use translations... What is the best approach for this ?Example:
Solutions I've tried:
Solution 2 works, but I'm not sure this is the best approach
Beta Was this translation helpful? Give feedback.
All reactions