Enhancing React Applications with Global Variables