• +91 9723535972
  • info@interviewmaterial.com

ReactJS Interview Questions and Answers

Related Subjects

Question - Why are fragments better than container divs?

Answer -

  • Fragments are faster and consume less memory because it did not create an extra DOM node.
  • Some CSS styling like CSS Grid and Flexbox have a special parent-child relationship and add
    tags in the middle, which makes it hard to keep the desired layout.
  • The DOM Inspector is less cluttered.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners