warning while using react-redux should i ignore
let me know if code is required
7 Replies
code is mandatory
GitHub
aptech-projects/cardCrafters at main · AnonymousDEV001/aptech-proje...
Contribute to AnonymousDEV001/aptech-projects development by creating an account on GitHub.
this is rendering 6 times for some reason
anything else?
i know nothing about react or redux, but i found this: https://stackoverflow.com/a/76492947
Stack Overflow
Selector memoized returned the root state when called. Redux-ToolKit
I'm using useSelector of reduxtoolkit and everytime I run my app. My app re-renders 5 times and I keep on getting this error. I cant seem to find a way too get rid of this error.
Selector memoized
my guess is that it is related to this:
const state = useSelector((state) => state);