React Pros and Cons

React Advantages and Disadvantages :


Advantages :


  • Conceptual Simplicity : A react application is tree of react components. A react component is a function that converts some model object into a User Interface. Everything else is window dressing.
  • Speed :  it is a relative concept and react is optimized for simplicity not for performance. React has always performed well compared relative to its competitors. React has very clever algorithm for working out what changes it needs to make UI and minimizing the work as much as possible. This results in  good default baseline of performance. 
                     For applications that deal with very large DOM's there a ways that a programmer can provide hint to React  help perform better. 
  • Server Side Rendering : Because react is conceptually simple it provides UI data to react components and get a bit of UI. It's easy to run react Server Side and this is useful for optimizing the initial performance of app and making content available to Search Engine crawlers.

Disadvantges :

  • Limited in Scope : React is Library not a framework so it does not provide a tool kit of everything you need to build a UI. Out of the box, React is only suitable for very simple components. To build a moderately complex application you need to add a router, a system for managing state changes, validations, form support and others . Of course this means you can assemble the system exactly you want.
  • Productivity : As it is a library, it is optimized for simplicity and correctness but not for productivity. If you want to smash out simple app then React will not be the easiest way to do it. Dropping react into a app is not trivial. You need to build process that can transpile javascript versions and JSX and do that packaging into scripts that can work with browsers.


Post a Comment

0 Comments