React Interview Questions & Answers
Read This on Github
This article completely copied from reactjs-interview-questions . I just changed the content and added some extra features. I am not the author of this article. I just copied it for learning purpose. I will remove this article if the author of this article wants me to remove it.
If you want you can visit the original article from here
All the credits goes to the author of this article.
-
What is React?
React is an open-source front-end JavaScript library that is used for building user interfaces, especially for single-page applications. It is used for handling view layer for web and mobile apps. React was created by Jordan Walke (opens in a new tab), a software engineer working for Facebook. React was first deployed on Facebook's News Feed in 2011 and on Instagram in 2012.
-
What are the major features of React?
The major features of React are:
- Uses JSX syntax, a syntax extension of JS that allows developers to write HTML in their JS code.
- It uses VirtualDOM instead of RealDOM considering that RealDOM manipulations are expensive.
- Supports server-side rendering.
- Follows Unidirectional data flow or data binding.
- Uses reusable/composable UI components to develop the view.