Guy T

Results 3 comments of Guy T

> TypeError: setCurrentId is not a function onClick E:/project1/client/src/components/Posts/Post/Post.js:23 20 | > > 23 | onClick={() => setCurrentId(post._id)}> > > | ^ 24 | > > 25 | > >...

> I am getting TypeError: a.map is not a function it points to map() this in the code and I cannot figure what I am doing wrong. Please help. I...

As far as I understand the purpose of controllers folder is only to implement the logic of the routes folder. And if we create an instance of express as a...