Written by - Saksham Jain

Reactjs Pros and Cons


Pros of ReactJS:-

  1. It’s fast as it uses virtual DOM ,So it's SEO friendly.
  2. It is easy to learn and use.
  3. It makes it easy to create dynamic and single page websites.
  4. We can reuse code using reusable components.
  5. As it's very popular ,it's easy to find a solution to any problem.
  6. Good library support.
  7. React applications are easy to test.
  8. React code is easy to read.

Cons of ReactJS:-

  1. React has poor documentation.
  2. It’s only for frontend.
  3. React uses JSX , which is somewhat a little complex to learn.
  4. It has a very high pace of development ,which may be its advantage but it's quite tedious to adopt all the changes.
  5. This is a bit confusing because the used in the class syntax looks like the plain-old block scope, but it’s not.