Maybe require React and then modify the object and re-export just the changed bits? I guess we need the different injection...