DEV Community

[Comment from a deleted post]
Collapse
 
bigbott profile image
bigbott • Edited

And here why you should never use React for your own projects:

  1. React popularity based on lies.

    1.1. React is a library. Obvious scam. React is a framework and very complicated one (more about complicity below).

    1.2. Every app need Virtual DOM. Lie. Virtual DOM has its use cases, but 95% of applications will be better without it.

    1.3. Virtual DOM is very fast. Lie. It is fast enough in most cases, but it is not VERY
    fast and cannot be very fast as it is interpreted JavaScript after all.

  2. Completely redundant and not justified complicity. All what frameworks like React actually do is only organizing code. There are a lot more efficient and more simple solutions for it. If you not a corporation that can spend millions for teaching developers, you can easily find framework which does not require months for learning. Or spend several days and write your own.

  3. Performance issues. Javascript is cross-platform, React is not. React's diff algorithm became CPU and RAM greedy when application grows over the size of Hello World. It will not work on $70 smartphone with one GB of RAM (80 percent of Eart population use such smartphones). If you a a big corporation you can use React Native, but as indie developer you probably want your app be truly cross-platform, ie. use the same codebase everywhere. And you can easily achieve it: just don't use React.

  4. Indexation of content problem. Again, if you is a big corporation and create inner corporate app, indexation is not an issue. But if you want your content to be indexed by search engines React is not a solution. React is a SPA framework. Beauty of SPA that you send only tiny JSON over HTTP instead of fat HTML. But from all search engines only Google know how to index JavaScript rendered content and even Google does it slowly and without any guarantee of success. "Server side rendering" when whole SPA app taken to the server and executed there is not a solution. It is a madness. People who sell it as a solution lack basic morality. People who buy it as a solution lack basic intelligence. If you need your content to be indexed, any traditional multi page app (Java, Wordpress, Jango, Ruby on Rails, whatever) will be better than React (or any other SPA framework).

Collapse
 
cenacr007_harsh profile image
KUMAR HARSH

Try criticizing based on some actual facts please, just random banter isn't going to cut it.