ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is the added value of using React JS?

React JS gets a React IDE! And there is something called React web application development now. What is special about React JS as a JavaScript library?

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2017/04/04
Ashraf CA
من قبل Ashraf CA , DIGITAL MARKETING & MULTIMEDIA DESIGNER , Standard Marconi DMCC

Advantages of using React:

  • easy to know how a component is rendered, you just look at the render function.
  • JSX makes it easy to read the code of your components. It is also really easy to see the layout, or how components are plugged/combined with each other.
  • you can render React on the server-side.
  • it is easy to test, and you can also integrate some tools like jest.
  • it ensures readability and makes maintainability easier.
  • you can use React with any framework (Backbone.js, Angular.js) as it is only a view layer.

What is not so good about React?

  • it is only a view layer, you have still to plug your code for Ajax requests, events and so on. Some people get surprised by that.
  • the library itself is pretty large.
  • the learning curve can be steep.

If react-native is really how it was described, react is going to become even bigger.

Performance wise, it is really good as it relies on a virtual-dom to know what is really changing in your UI and will re-render only what has really changed. It does have trouble with very large, slightly changing, lists of children ( <li> test), but can be optimized simply.

Projects using React: instagram, hipchat, facebook chat and so on.

Credit

Mohamed Ali
من قبل Mohamed Ali , Senior Online Developer , Al Arab News Channel

Simply because React better for performance and memory consumption :)

mukhtar ahmed
من قبل mukhtar ahmed , web and mobile developer , self employed

first of all its so much fun to work with and its light weight  library  it have a lot of features like the virtual dom and so on but what really special about it is that its not really the V in MVC its completely different its divide your web app to component that have all what its need inside it if there is bug its inside the component so when it come to complex project it make it a lot easier and when teams get bigger there is no problem because every member have just component to worry about they don't need to edit something on the project to make there code work 

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟