0

How can I reload all components in the page because I need to navigate to another page and back to the same page to see everything updated , I tried to use react-native-restart but it didnt work. I need it to work on all platforms thanks for all :)

Naor
  • 11
  • 1

1 Answers1

0

I'm not exactly sure what you mean by reloading components after language change. I guess you want multiple language support in your application. If yes, then you could use react-i18next library.

itzhayder
  • 26
  • 4
  • example: https://github.com/i18next/react-i18next/blob/master/example/react-native/App.js – adrai Apr 01 '22 at 20:29
  • I already got language support , but after changing language some components and icons wont update their location to ltr(left side) and it looks like I need to reload them how can I do it – Naor Apr 02 '22 at 07:35