DEV Community

Discussion on: Top 10 React Hook libraries

Collapse
 
samirdamle profile image
Samir Damle

Looks like there’s a bug in the code snippet for use-http in addToDo - the result of await post( ... ) should be captured in response and then newToDo needs to be plucked from the response.