Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. How do you write an inline style specifying the font-size:12px and color:red; in JSX
Correct Answer is : style={{fontSize:'12px',color:'red'}}
2. What's used to pass data to a component from outside?
Correct Answer is : props
3. How do you access a function fetch() from a h1 element in JSX?
Correct Answer is :
{fetch()}
4. Which method in a React Component should you override to stop the component from updating?
Correct Answer is : shouldComponentUpdate
5. What happens when you call setState() inside render() method?
Correct Answer is : Stack overflow error
Similar Interview Questions
Search for latest jobs
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!