My react code contain input field,if I enters text in input field,the redux state updates and displays result in same component but I gets error with my dispatch function. My dispatch function unable to connect with the proper action function.
Please verify my Code
I have copied the code to CodeSandbox
https://codesandbox.io/s/peaceful-currying-hjwur?file=/src/App.js
- The useSelector() hook work fine for me,ie I am able to access the redux store *