This post talks about React interview questions and answers for developers.
This will be 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 developed and opensource in 2011, create by Facebook engineer Jordan Walkie. Initially used news feed features was implemented in Facebook, Later Instagram and whatsapp are using reactjs 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
One way binding
what are advantages of React? It works on Virtual DOM concepts on 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 Framework like Angular It is based on Component based approach, Components can be reusable
what are disadvantages of React? ReactJS is framework for UI single page applications
View Layer Support only This framework only used in View layer of MVC Single page applications, so You have to use other frameworks for handling Model and controller
JSX is a new syntax need to learn
|Developed by Google||Developed by Facebook|
|direction||Data passed to component|
|duration||time in milliseconds shown before disappear from the page|
|panelClass||used to Customize the snackbar css styles|
|horizontalPosition||Horizontal position - ‘start’, ‘center’,‘end’,‘left’, ‘right’|
|verticalPosition||Vertical position - ‘top’,‘bottom’|