React Js photo by Caspar Camille Rubin
by Caspar Camille Rubin on unsplash

ReactJs in 2020.

  • What is react JS?
  • How to use react JS in real application?
  • What are the advantages of using react over other frameworks
  • Scaffolding React app with create-react-app
  • Application structure and folders
  • What can we do next?

What is react JS?

React is a JavaScript library for building user interfaces. It is used to build single page applications that can talk to any backend service for a serverless architecture.

How to use react JS in real application?

React JS is easy to learn and get started. React website is a great place to start it covers all the fundamentals you require to get started with react JS so in this blog post we will cover the basics to build a simple react JS application.

What are the advantages of using react over other JavaScript frameworks

Since we access is a UI library and also it uses JSX to display the UI components. Because of which react is used to build hybrid applications using react native. Write code once and run it anywhere. Do you need to learn react once when you can write anywhere.

Scaffolding ReactJs application using create-react-app

Before you get started you need to have few applications installed on your machine

  • Node JS
  • Git
  • Vs code ( editor )
  • Create a new folder and open it with vs code Now you can pull up the integrated terminal with a a keyboard shortcut `ctrl+``
  • Now you need to type the command to bring down the basic boilerplate which react provides us. npx create-react-app . . The dot in the command let's create react app know that it must be creating the project in current folder.
  • Now you can see folders which are created by using create react app

What next?

Follow the React documentation .

  • Create a todo application
  • explore the basics of JSX and javascript.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Achuth hadnoor

On my way to be an indie developer, creator creating a focus on better living.