remove react as a peerDep and made it an external dep in the build and dev servers. React can be included by the webpage as a separate file.