Post Link : https://www.skptricks.com/2018/07/react-js-quiz-react-js-interview.html
Today we are going to provide basic react js interview question with answer, This quiz series helps to build more understanding on reactjs and java script library for building user interfaces.
We can go for keys when there is possibility that our user could change the data.
Keys
ref
both
none of aboveJSX is typesafe.
True
FalseReact merges the object you provide into the current state using __________.
setState()
State()Arbitrary inputs of components are called __________.
Keys
Props
Elements
Ref_________ can be done while more than one element needs to be returned from a component.
Abstraction
Packing
Insulation
WrappingWhich of the following needs to be updated to achieve dynamic UI updates?
State
PropsLifecycle methods are mainly used ___________.
To keep track of event history
to enhance components
freeup resources
none of the options
Top comments (2)
The solution isn't an underscore on the first question.
The first question needs to update.