I got error
Error: Context from react-redux not found. If you are using react-redux v6 a v3.. version of react-redux-firebase is required.
I try steps in reference documentation, I did upgrade react-redux-firebase
to version 3.0.0-alpha.6
, but it did not work, I try downgrade react-redux
to 4.4.9
but the same problem is still exist;
My JSON file
{
"name": "clientpanel",
"version": "0.1.0",
"private": true,
"dependencies": {
"firebase": "^5.8.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-redux": "6.0.0",
"react-redux-firebase": "2.2.6",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.3",
"redux": "^4.0.1",
"redux-firestore": "^0.6.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
How to fix error?