Using intl.formatMessage outside a react #4042
Unanswered
rbjunior000
asked this question in
Q&A
Replies: 1 comment
-
Currently, my solution has been this:
When changing the language, I force a page reload and everything works fine. But I would like a solution that works for SPAs as well. |
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
-
Hello.
For a few days, I have been trying to set up a system where I can use intl.formatMessage outside of the scope of React, but I am having difficulties.
I created this example to show what I am doing and what I want to do.
Any suggestions?
https://codesandbox.io/s/exciting-snyder-wlthz6?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions