add react as an external dependency