Added react as peerDep again. Realised webpack is only using one copy even though it installs in multiple locations.