
1: What is React JS ?
React JS is an Open Source Javascript Library Primarily used for forming user interfaces precisely for Singular Page Applications.Facebook Developers Created the React JS in 2011 and up to now it was widely used and garnered a large community of learners and developers.
2:What are error boundaries ?
3:What is the use of ‘key’ in react list?
List Elements would be assigned with stable identity by the help of Keys.These keys are unique. Mostly the ID of the data would be used as the Key.
4:What is conditional rendering?
5:What is an event?
6:Can we create one list without using ‘key’ in react?
There is no way to create a list without key for element, if it is bound to happen there would be errors in the rendering. The browser console too throw back an error.
7:What is Lifting state up in React?
8:What are Fragments?
Grouping of Child Component without the use of Additional Node is called Fragment.
9:What are higher-Order components ?
The Higher Order Component is the function that intake a component and return a new component.For Reusing the Component logic, the higher order component function is used.
10:What is StrictMode?
11: What are empty tags <> used for ?
12: What is react Context?
13: What are Context provider and Context consumer ?
14: What are the Benefits of using ReactJS ?
Students with strong Javascript, Cascading Styling Sheet Understanding can be able to learn react with ease.
Code Readability :
The JSX Usage marginally enhances the code readability.
Performance :
The Virtual DOM presence accelerates the performance since Updating UI do not require the entire website to all single changes.
Reusable components :
Single Component can be used at multiple places at no need of code rewriting.
Server Side Rendering ( SSR ) :
The Server Side Rendering was Supported by React and it also enhances the loading time of webpages.
15: What is meant by SSR ( Service Side Rendering )
16: What is meant by JSX ?
17: What is meant by virtual DOM in the React?
18: Is there possibility to read JSX Files ?
19: What is meant by React component?
20: Mention the types of React component ?
The first one is called as Function Component
The Second one is known as Class Component
21: What do you mean by Function and Class Components ?
The Javascript Functions where a react element would be returned with the input properties are called Function Component.
Class Component
The Javascript ES6 class that extend to React.Component are called Class Component.
22:Mention the cases that React needs a Class Component ?
When dealing with state wise or life cycle methods, the Class components in the react would be used.
23:What is meant by React State?
24:What do you mean by React props?
25:Explain between React State and Props ?
26:How to update state in react ?
27:What is a stateless component?
28: What is a stateful component?
29:What are createElement and cloneElement?
30:How does ‘setState’ function work?
31:What is Redux?
To Activate the Redux,Middleware() method was applied.
32:What is meant by Flux ?
Flux is generally an illustration which is useful in managing the single directional data stream. These are meant to be controlling the data fragments and make them to interfere with the data without issues.Flux is not specified to any react application or collection of react application
33:What do you understand by the term polling?
34:What are the reasons behind the success of ReactJS?
35:Mention the key benefits of Flux?
36:What is meant by Synthetic Events ?
37:What is meant by DOM diffing?
38: How to nest JSX elements to other JSX Elements ?
39:What are createElement and cloneElement?
40:How React Actually Works ?
Diffing algorithm would be run by React to identify changes that need to be made in Virtual DOM.
The next step would be used to update the DOM as per new features which is Reconciliation.
Virtual DOM that is too light in nature would be detached from specific implementations of the browser.
Virtual DOM Elements would be used to build basic nodes
After the Component Change in State, Diffing algorithm would run quicker and identify changes.After the changes has been identified, it would automatically update the DOM with the Change difference.
41Does ReactJS use HTML?
42: What are the limitations faced by React JS ?
ReactJS too holds lot of limitations like other platforms, the major drawback would be the library size, being complex would create a lot of uncertainty among the code developers.The inline templating with JSX also adds voice, most importantly the one only one layer of app is covered.In order to develop the app, developers rely on multiple technologies that take time.
43:What are controlled and uncontrolled components in React JS ?
An Uncontrolled Component stores its own state internally and need to query the DOM using a reference to find the current value when you need to find it, it is similar to the HTML.