But today I’m not going to talk about all of them but one that has caught my attention in the past month: ReactJS.
Where does it come from?
What can I do with React?
If you know about design patterns, you might have listened about the MVC pattern (Model-View-Controller). If not, all you have to know right now is that React works as the V in MVC. And what does it mean? you might be asking yourself. Well, with React, you can design all the front-end part of your application. That means, you can create easily all the user interface of your application.
Model-View-Controller explanation graph
Who’s using React?
- The New York Times
That means you’ll be using a new innovative technology that is being used by some of the biggest brands on internet. You’ll be one of the cool guys!.
Why should I use React?
When you create a React app, it’s basically made of two parts: components, that are the pieces that contains your HTML code and what you want the user to see, and an HTML document where all your components will be rendered. This gives you some advantages:
- Rendering and optimization: when your React app is loaded in the browser, all the components that you created are rendered. But let’s say that one of your components suffered a change, maybe because the user interacted with it, then this component is being re-rendered to show the new change. That means that the only parts of the application that are reload (rendered again) are the ones whose state changes.
- Every component is a Class that you can instantiate. That means that your component can receive arguments that you can use to customize what’s shown in the application.
- It’s asynchronous. There are no blocking actions in your application. If something hasn’t finished loading, other components will continue working or loading.
- You can install external React libraries to make your experience even better via NPM (my favorite feature) we'll be talking about this later.
- You can easily reuse your ReactJS code to create a mobile application with React Native, the mobile version of React.
- Knowing how to use this new library will look good in your CV.
The next time, I’ll be showing you how to create your first React application in the simplest way.
If you liked this post, please upvote it and leave a comment if you want, I'd really appreciate it.