Global states are managed using Redux, which allows for a component to access or update a state in a distant component without the downsides of prop drilling.
Learn more about the usage of components in ScandiPWA:
You can also read about Context API: