Prachi, It's quite common to have embarrassing moments in a career either positive or negative. You need to walk away and not respond to the comments. The more you listen to those comments you get tempted to react or start an argument. Instead, clear out the misunderstanding to reduce the comments over time. Take negative comments in a positive way to not feel unnecessary tension, anger, etc.
If you need to know more about React, Its recommended to join React JS Online Course today.