Sitemap

Why Use React?

2 min readSep 8, 2023

--

Web Development is an always evolving field with new languages and libraries emerging constantly, although none have obtained the widespread usage of JavaScript. Over the last 20+ years, JavaScript has solidified its place as the most utilized programming language, with 98% of websites incorporating it in some form. JavaScript’s popularity can be attributed to its low degree of difficulty and ease of learning. While JavaScript may be intuitive and beginner-friendly, many processes can still be very tedious. Thankfully, programmers have taken it upon themselves to create libraries that streamline many tedious tasks in JavaScript. One such library is React, which will be the focus of this discussion.

Get Spencer Eklund’s stories in your inbox

Join Medium for free to get updates from this writer.

React is a library that offers programmers a better way to construct web applications through components and hooks. My first experience with React was working with a team to create an application for people interested in learning about cocktails. The learning curve for React was short, and it’s potential became clear early on. React allows developers to create individual components that can be imported and reused at a later time. This allows for improved team coordination as well. When working with JavaScript alone, merging branches can be difficult, especially if multiple people are editing the same files. React’s components allow everyone to work in a separate space, allowing for cleaner merges. Components also help with organizing variables without having to worry about scope as much. In addition, components allow better variable organization without the need to worry excessively about scope. They also simplify debugging by making it easier to pinpoint where an issue occurred.

In summary, React was able to take an already powerful language and make it more efficient and maintainable for developers. I look forward to utilizing React in future projects, and incorporating other JavaScript libraries.

--

--