Redux: Functional Component Doesn't rerender after props Change.

Created on 18 Oct 2018  路  1Comment  路  Source: reduxjs/redux

I've connected a functional component to store using connect.
image

The prop being passed(which i'm facing the issue with) is toDo and has a structure as this...
toDO = { id: 0, completed: false/true; task: 'SOMETHING I WANT TO DO' }

I would be dispatching an action to toggle the _completed_ key _onClick_

The props passed to the connected Component are changing as I've observed in react DevTools.
But the Component doesn't re-render. I have also observed that the prop passed to it doesn't change.

Can some help me solve this issue. the link to sandbox is here...ToDo

>All comments

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rui-ktei picture rui-ktei  路  3Comments

mickeyreiss-visor picture mickeyreiss-visor  路  3Comments

elado picture elado  路  3Comments

jimbolla picture jimbolla  路  3Comments

vraa picture vraa  路  3Comments