Any thoughts why not updating the "app.lang".
hi,
This Question is relate to react-intl branch.
When changing the language by language switcher, any thoughts why not updating the
<html className="no-js" lang={app.lang}>
This might relate to this issue.
The reason i'm looking for. is to use as rtl eg: arabic. please let me know if the question is not clear.
Thanks in advance.
Shortly: there is no listener for changes of app.lang When youre rendering html, you can save ref of html object, and then change property in language switcher.
@Ranushka thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion.
NOTE: The main branch has been updated with React Starter Kit v2, using JAM-style architecture.