Why I like coding in React

Why I like coding in React

React is a JavaScript library (framework) that combines the speed of JavaScript with a novel way of rendering webpages that makes them highly dynamic and responsive to user input. Another unique feature of React is that it can perform on both the client and the server sides.

React is normally paired with a JavaScript syntax extension called JSX. JSX is used with React to describe what the UI (user interface) should look like. JSX resembles a template language, but it comes with the full power of JavaScript and renders to the browser seamlessly when used with a preprocessor, like Babel, that translates the code before it is rendered in the browser.

Here are three reasons I enjoy working with the React library:

  1. React is intuitive. When React is used in combination with JSX and Babel it is an intuitive library for people familiar with HTML and Javascript. This integration makes the transition from standard HTML and Javascript to React relatively painless. The biggest challenge is "props", the React method for passing content between function and class components.
  2. React interfaces easily with CSS and popular CSS libraries like Bootstrap.
  3. React offers a Chrome developer tools extension that makes debugging easier.

If you haven't tried React it is worth the time. You can get a quick overview of the library by going through the React tutorial.











Daniel Paschal, good points. I should have discussed other libraries/frameworks as well. Yes, React is just another tool, but fun because the documentation is fairly easy to follow. I frequently wonder how adoption rates would change if documentation was better structured. It seems that broad overviews with plenty of diagrams and pictures that link to specific details would be game changers. 

Like
Reply
Daniel Paschal

Senior Lead Developer at Internet Brands working with JS, PHP, Postgres, Laravel, React, CSSS/SASS, Jenkins, and Git

5y

Good that you offered a link!  Helps get people started right away!

Like
Reply
Daniel Paschal

Senior Lead Developer at Internet Brands working with JS, PHP, Postgres, Laravel, React, CSSS/SASS, Jenkins, and Git

5y

Coming from the viewpoint of a veteran dev, I tend to have a very different view of React.  It's fun for me in the same way as a long-distance runner decides to run the 400 yard hurdles... just for something else to get in the way. Though it does offer some nice standardization to more fledgeling developers so they can get firing on all cylinders sooner.    It is nice to not have to explain the concept of components. It's also important to distinguish that some of the things about it are shared with other platforms.  Babel, for instance, isn't unique to React, but is an important part of most installations.   Though as you learned from the brilliant Tim Davis, it's important to first use it without all the bells and whistles so you aren't locked into using them all the time. Check out other frameworks in the modern era like Vue or Angular, or go back a bit and try Ember or Meteor.  You'll see a lot of these traits are repeated one way or another.

Like
Reply

To view or add a comment, sign in

More articles by Juliann Talkington

  • Coast to coast manufacturing and research imperative

    What happens when most of an industry or the majority of the research is concentrated in one place and an earthquake…

    3 Comments
  • Programmers need to embrace synthetic biology

    "Synthetic biology aims to make biology easier to engineer. Synthetic biology is the convergence of advances in…

    4 Comments
  • "Good" code like Contemporary Art

    Simple. Straight forward.

    3 Comments
  • Thoughtful always better than rapid

    Software engineers, especially those who are handling tasks that require significant logic, need to have the ability to…

    2 Comments
  • Biology, novel materials, light moving computing to new era

    For more than half a century computers have become smaller, faster and cheaper. But engineers are close to reaching the…

    4 Comments
  • The art of pseudo-coding

    Pseudo-code is a combination of pictures and short statements written in English (or some other common language) that…

  • Are technology breaks helpful?

    We have smart houses, smart watches, and smart cars. We spend our free time surfing social media, playing electronic…

    2 Comments
  • Why everyone need to understand design AND engineering

    I love great design and think user interface (UI), user experience (UX), and branding are important on all development…

    2 Comments
  • Want to be smarter? Eat better!

    Trying to balance everything in our fast paced world is complicated whether we are working to debug code to meet a…

  • Conceptualization key in coding

    While code quality, like art and poetry quality, is subjective there are some general characteristics that make code…

    2 Comments

Insights from the community

Others also viewed

Explore topics