React Js Interview Questions and Answers
React Js Interview Questions and Answers
REACT
1)What is Reactjs?
➔React is a JavaScript library that makes building user interfaces easy. It
was developed by Facebook.
13)What is dispatcher?
➔ In Flux architecture, a dispatcher is a middleman that sends actions
(events) to the appropriate store.
➔ The main difference the two is that the State is mutable and Pros are
immutable.
27)What is 'create-react-app'?
➔ 'create-react-app' is a command-line tool which allows you to create
one basic react application.
34)What is Context?
➔ React context helps you to pass data using the tree of react
components. It helps you to share data globally between various react
components.
39)What can be done when there is more than one line of expression?
➔ At that time a multi-line JSX expression is the only option left for you.
42)When should you use the top-class elements for the function element?
➔ If your element does a stage or lifetime cycle, we should use top-class
elements.
THANK
YOU