React component getting rendered multiple times
Advertisements feedPosts array is getting iterated for 3 times where posts are fetched from the store and though i have added key prop to the postComponent i am getting error to add a key const Home = ()=>{ const navigate = useNavigate(); const dispatch = useDispatch(); const authToken = Cookies.get("jwtToken"); const feedPosts = useSelector(state =>… Read More React component getting rendered multiple times