I'm trying to import the PersistGate wrapper component as per documentation but I'm getting the following errors:
ERROR in shared module react
No required version specified and unable to automatically determine one. Unable to find required version for "react" in description file (.../node_modules/redux-persist/package.json). It need to be in dependencies, devDependencies or peerDependencies.
ERROR
Module not found: Error: Can't resolve 'react' in '.../node_modules/redux-persist/es/integration'
I'm trying to import the
PersistGate
wrapper component as per documentation but I'm getting the following errors: