It’s a common practice in React apps to store instances of shared classes in a React context and provide access to them through custom hooks. This approach allows components to easily share and access these instances. You can read more about it here: Passing data deeply with context.