DEV Community

Discussion on: React + Redux = React + Context

Collapse
seanmclem profile image
Seanmclem

Your to-do-field component uses its own local usestate todo and setTodo? Instead of from the context?

Collapse
droidmakk profile image
Afroze Kabeer Khan. M Author

Yes, That's the implementation. I wanted that to be local. As you can differentiate between what needs to be global and what needs to local.