First of all what is React.js?
Before learning any language you should first understand what it is and why it was created. I did some research for you and I got this definition from the web:
And I got this definition from Facebook:
“React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable and easier to debug.”
Why is React awesome?
Do you hate debugging? As a developer who loves pixel-perfect designs, being able to come back to a piece of code that was written days, weeks or even months earlier (or by someone else)— and not have to spend hours figuring out what the heck I wrote and how to change it — is a massive breath of fresh air. This is possible because React is fundamentally about small, self-contained components. That is, you’ll find a component for a button, another for a background, and another component for a field. This readability and maintainability is truly amazing. React is also unique in that each asset is made up of many isolated components. Want a button changed across the whole platform? One change and boom! Done.
React has a small API that makes it fun to use, easy to learn, and simple to understand. However, being simple does not mean it’s familiar. There are a few concepts to cover before getting started.
Components are developer created React elements. They’re usually larger parts of the user interface which contain both the structure and functionality. Think of concepts such as a
JSX is a technique for creating React elements and components. For example
Online Resources to get Started
I signed up for Wesbos’s reactforbeginners.com and in this 30 video course Wes Bos helps you set up a fresh seafood market step by step. Highly recommended.
I encourage you to check out ReactJS for your next project or side project. It’s an incredibly flexible, useful tool for developers. And if you’ve already worked with React.js, do you love it as much as I do?