Just wrap your app within a context provider and feed that provider with the data you want to make global:
Read moreWhat is global in react native?
The global scope in React Native is variable global . Such as global. foo = foo , then you can use global. foo anywhere. But do not abuse it!
Read moreWhat is state management tool in React?
A state management tool is a library or a set of libraries for creating user interfaces in javascript applications . In a nutshell, it implements a View in MVC pattern with all the behaviors and events supported. It’s a tool that permits any developer to create dynamic but at the same time adaptable web applications.
Read moreWhich state management is best in React Native?
Which state management is best in React? React’s useState is the best option for local state management . If you need a global state solution, the most popular ones are Redux, MobX, and built-in Context API.
Read more