python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
TypeError: Cannot read properties of undefined (reading 'toString') in react
I am working on the MERN stack project. here I have one endPoint for users, user can update their details
router.put('/updateuser/:id',fetchuser, async (req, res) => {
const {name, email, role,...
vinod sharma
Votes: 0
Answers: 1
mongoose.connect error : The `uri` parameter to `openUri()` must be a string, got "object"
I'm trying to connect my MERN stack application to MongoDB by using mongoose but I'm getting this error even if I am using dotenv file or directly.
I've search for many solutions but didn't work for m...
Soniya Jaiswal
Votes: 0
Answers: 2
Why does my React component not update on setState
I am using a MERN stack and have ran into the following problem: My component won't update when the state of one of its props is changed.
const [imgCollection, setImgCollection] = useState([]);
...

GentleCynic
Votes: 0
Answers: 1
EmailJs is not sending email by React
I hope you are doing great, I am using Emailjs in React to get Emails. I configure Emailjs and it is properly sending test Emails but when I am trying to send from my project so it's not sending and e...
Zaryab Khan
Votes: 0
Answers: 3