1. Original DOM
2. Virtual DOM
3. Both 1 & 2
4. None of above
Virtual DOM
1. Do not requires to be unique
2. Unique in the DOM
3. Unique among the siblings only
4. All of the above
Unique among the siblings only
1. Yes
2. No
Yes
1. An input element with the controlled flag
2. An input element whose value is being controlled by a component’s state
3. An input element that can only accept a list of characters
4. An input element that is controlled by the value of another input element
An input element whose value is being controlled by a component’s state
1. Using the reduce array method
2. With a for/while loop
3. Using the component
4. Using the Array.map() method
Using the Array.map() method
1. When the new state should completely replace the old state
2. When the new state depends on the old state
3. When the new state does not depend on the old state
When the new state depends on the old state
1. It will be rendered as enabled
2. It will be rendered as disabled
3. It will not be rendered at all
It will be rendered as enabled
1. this.setState
2. this.changeState
3. this.State = {}
this.setState
1. To invoke code after the setState operation is done
2. To replace the state completely instead of the default merge action
3. To access the previous state before the setState operation
To invoke code after the setState operation is done
1. componentWillReceiveProps
2. shouldComponentUpdate
3. componentWillMount
4. componentDidMount
componentWillMount