I am new to React, so I dont know the best ways of implementing some sort of global state. I am currently working in React Native to develop a UI. I have different functional components for the different "things" on the screen. The next step in the development is to implement a shared state between the relevant functional components. The state in question is a simple integer value, which will determine parts of the design. I see there is many ways of implementing this state, but I dont know what is best. How should I implement my shared integer variable?