React Pros and Cons

Lawson Hung
2 min readJul 17, 2020

--

React is a JavaScript library developed by Facebook that uses a mix of JavaScript and HTML, JSX (JavaScript Extension), to offer a new way of rendering webpages making them highly dynamic and responsive to user input.

Pros

Virtual DOM makes the website faster. React only updates the part of the DOM in which the component that has been rendered has been changed, without the need to re-render the entire webpage.

The ability to reuse React component saves time for developers and designers. When there is an update, only the component that has been updated will crash, making it much easier to debug.

React is an open-source library that’s always constantly developing and is open to the community.

You can use Redux with React, a state management tool. Redux is also used with other libraries like Angular, so it is commonly used outside of React as well. However, since React-Redux is relatively new, the documentation for it isn’t great and a lot of developers struggle with incorporating it into their apps, something that I’ve personally struggled with at first as well.

Cons

React is developing really quickly, and some developers just aren’t comfortable with the pace of learning and/or having to learn something new.

Since React is developing so quickly, the documentation for it isn’t great. Thus, a lot of developers write their own documentation for it for their apps.

JSX and HTML in Javascript looks junky to some people and looks like old code. However personally, I don’t find this to be much of an issue for myself. I quite like JSX and it seems pretty sleek to me.

Search Engine Optimization (SEO) is a problem with most website building libraries. Since it’s not a typical website, it doesn’t come up as frequently or as accurately on search engines.

It’s all about balance. Overall though, React is still one of the most popular libraries out there right now for building websites.

Stay safe everyone!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Lawson Hung
Lawson Hung

No responses yet

Write a response