DEV Community

Discussion on: React Hooks and Local Storage: Let’s build a ToDo app

Collapse
 
saranshk profile image
saransh kataria

Thanks for pointing that out. The verbiage is incorrect. It does work with object values, but primitives can be used as well and it is the preferred way of using it unless the values in the object are related. I will update the post to reflect the same.