How to update the state of the sidebar and menu caps?
Create mobile app on react native. The application has the functionality to change language.
First, when the user enters the application (the first visit after installation), in front of him a screen with the language selection, and the choice will be default. And in the settings it can also change the language.
The functionality is almost implemented, plain text is transferred without any problems. But here is the text in the navigation is not translated.
For example, the text in the header is translated, but not immediately (in the first entry in the old text , second updated).
And with side Drover all the trouble. It is updated only after a page reload.
In General how can I update the NAV? How can I make this update?
It may be possible for the user to show the loader but this time as the update state. HOC or in a wrap, but that wrap?