What do I like and what don't like about React?

Artem Deikun
FED is love — Front-End
2 min readOct 3, 2022

--

With React, it is easy to start and maintain the project. But React is just a tool, so it’s obvious that it depends on developers and their mindset.

I like about React:

  • It’s not some casual open-source library. React maintains by Facebook, and you have guarantees that this stack will be powerful and influential for a long time.
  • With JSX, it’s often very easy to read and understand the component's purpose.
  • React framework always cares about performance and algorithms of rendering UI. That parts of the library are so meaningful that they even have their own coding name — like React Fiber. (Before, it was Stack Reconciler).
  • React is Open Source, has lots of contributions, and millions of projects depend on it. That’s why the library's source code is pretty secure, and any found vulnerability immediately has parch and updates.
  • Have a very big, professional, and active community with recent answers and recommendations on StackOverflow, conferences, and publications on the Internet.
  • Well documented. The official documentation has lots of materials from beginners' guides to deep-dive details in API and functions.
  • Projects on React follow principles of the functional programming paradigm. These principles are very natural for JavaScript in common and more organic than OOP.

What I don’t like about React:

  • Development on React assumes lots of opinionated solutions on Front-End. There are not many official methodologies for architecture applications on React.
  • Applications on React depend on lots of 3rd-party components and libraries for core functionality.
    Had to choose 3rd-party solutions for:
    - Forms controls and validations;
    - HTTP requests and other async operations;
    - Caching, LocalStorage services
    - Localization and Internationalization, etc.
  • Dependant 3rd party libraries are not centralized and are not managed officially by React Team. Including in a project such library, you have a big risk that the main contributors will abandon it, and you have to spend time and have problems with replacement or support.
  • Teams that develop applications based on React should be professional Front-End Developers with good knowledge of JavaScript and React. In other cases, the project can face performance or scalability problems.

Summary

With big power comes big responsibility. React is a powerful UI library that can fit any front-end project, but in case the team realizes it’s important to care about code quality and modern Front-End standards.

--

--