This post talks about React interview questions and answers for developers.
It is useful for full-stack developers and frontend developers.
- What is React framework?
- web applications with React
- Mobile applications with React native
- Desktop applications with React NodeGui
- Browser plugins
Facebook was developed and opensource in 2011, created by Facebook engineer Jordan Walkie. Initially used news feed features were implemented in Facebook, Later Instagram and WhatsApp are using react js framework.
- What are features of ReactJS framework?
React is very popular for displaying the webpages very fast, The reason for very fast is with inbuilt below features
Server Side rendering
what are the advantages of React? It works on Virtual DOM concepts on a tree of nodes with state changes. Because of it, It improves performance. It Can be used in CLient and Server-side rendering. It can be used with other Frameworks like Angular. It is based on a Component-based approach, Components can be reusable.
what are the disadvantages of React? ReactJS is a framework for UI single-page applications
View Layer Support only This framework is only used in the View layer of MVC Single page applications, so You have to use other frameworks for handling the Model and controller
JSX is a new syntax need to learn
|Developed by Google||Developed by Facebook|
|Angular is a framekwork||React is an UI library|
|It uses React DOM||Virtual DOM|
|Bundle size is more||Bundle size is less|
|Slow Compared with React||faster|
|Two way data binding||One way binding|