Why React?

Raycee Mwatela
Jul 24 · 2 min read
Image courtesy of https://codeburst.io/4-four-ways-to-style-react-components-ac6f323da822

I have been learning react for the past two weeks and I thought I would share my “why” as I had promised here.

I always believe it is important to understand why you are learning something and the impact it has. When I joined Ona, I started working on Clojure projects and I loved the shift from object-oriented programming.

I later learned about Re-frame (A Reagent Framework For Writing SPAs, in Clojurescript.) and boy did it make my life easier! With time I realized the beauty of components and that is when I thought why not try out React. After all, we have Clojurescript frameworks that use React concepts i.e reagent.

My goal for learning react is to:

  • Have knowledge in any of the javascript frameworks or libraries and make contributions to react projects particularly in my organization.
  • Help me familiarize with other languages apart from Clojure.

What is React

React is a library for creating user interfaces created by Facebook.

A library is a collection of code that stores particular useful routines particularly useful for storing frequently used routines because you do not need to explicitly link them to every program that uses them. (referenced from https://www.webopedia.com)

A user interface is a way that a user interacts with the system.

Facebook….well, you all know!

Why did I choose React

  • Being the most popular Javascript library, React has a large and active community. What does this mean? 1. You will always have a community to support you in case of a blocker, therefore you write better code, 2. There is a chance what you want to add in your code has a function/method already built for it making it easier.
  • Use of components! Having worked with reagent, I have learned the beauty of components. Components can be reused over and over, hence, we avoid repetition.
  • React loads pages instantly because it runs in the browser.
  • Lastly, of all javascript libraries and frameworks, I found it to be the easiest to learn and grasp. Its concept is easy to understand as long as you have Javascript and HTML knowledge you won’t take time to understand.

I hope those are valid reasons to get you to this other side…the react side.

To start learning, you can look at the official documentation here or sign up with code academy and get started!

Happy coding! 😊 🙂

Thanks to Cheruto Mercy

Raycee Mwatela

Written by

Am not your typical technical writer..let’s just say i add humor in tech😊😎

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade