ReactJS a popular Javascript library

Why React?

Faysal Ahmed
Oceanize Lab Geeks
Published in
2 min readNov 1, 2017

--

If we think about why we choose ReactJS library over other Javascript framework the first things is come into our mind React is really very fast. Comparing to other javascript framework like AngularJS, Backbone.js. It provide more modular and reusable component with a comparatively easy to learn approach. Where AngularJs and Backbone.js deal with MVC pattern but ReactJS take only V from them. That means it only concentrate with View portion. But with the help of some other libraries reactJS can meet the criteria of MVC

Here are a couple of reasons why React has turned out to be so well known so rapidly:

  • Working with the DOM API is hard. React basically gives developers the ability to work with a virtual browser that is more friendly than the real browser. React’s virtual browser acts like an agent between the developer and the real browser.
  • React enables developers to declarative describe their User Interfaces and model the state of those interfaces. This means instead of coming up with steps to describe transactions on interfaces, developers just describe the interfaces in terms of a final state (like a function). When transactions happen to that state, React takes care of updating the User Interfaces based on that.
  • React is just JavaScript, there is a very small API to learn, just a few functions and how to use them. After that, your JavaScript skills are what make you a better React developer. There are no barriers to entry. A JavaScript developer can become a productive React developer in a few hours.
  • React can also render on the server using Node and power mobile apps using React Native.

Cons of ReactJS:

  • React is evolving so fast some time developer failed to collaborate with the pace of emerging ReactJS. Its always changing in a great speed so developer need to relearn ReactJS in a regular basis. Some developer just lag behind to cope with this speed.
  • Documentation of reactJS is poor. So a new learner might face difficulties to gasp the whole pathway. Still a lot of improvement needed to make it more convenient to the newbie.
  • Html in my javascript JSX is a barrier for some developer. JSX has its own benefits (for instance, protecting code from injections), but some members of the development community consider JSX to be a serious disadvantage. Developers and designers complain about JSX’s complexity and consequent steep learning curve.

After considering above pros and cons Although its to early to predict but we can assume that reactJS is creating new trend in Javascript library.

--

--