React JS and DRF — Introduction to React JS and Creating a hello world app with React JS

React is the most popular front-end JavaScript library in the field of web development. It is used by large, established companies and newly-minted startups alike (Netflix, Airbnb, Instagram, and the New York Times, to name a few). React brings many advantages to the table, making it a better choice than other frameworks like Angular.js.

Advantages of React Js

  1. Improved performance
  2. Dynamic applications
  3. Reusable components
  4. It can be used for the development of both web and mobile apps
  5. Dedicated tools for easy debugging

Starting our First App

To create a new React App, you should have installed node. If installed you can execute these commands and get a react app with a good Architecture.

If you start the server, you should see a page like this which is the default welcome page as Django Provides us.

React App

This is the folder structure of React where src is the main folder where we begin to code.

Folder Structure

Feel free to contact me for any queries.

Email: sjlouji10@gmail.com

Linkedin: https://www.linkedin.com/in/sjlouji/

Happy coding…

--

--

Software Engineer at PandoCorp

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