Test React (legacy)
Test React with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.
My Results
Test details
This legacy test contains questions about older versions of React. Some of the methods and functions used are deprecated. It is recommended if you want to test your knowledge to work on a React project created before 2018.
This quiz contains a large part of the concepts to know about this library.
This test only talks about react. There are therefore very few (one or two) questions relating to peripheral libraries (redux, jss, material ...)
This quizz has only questions about Class Components
It tests the following skills:
- describe a UI with React ⚛️
- how to manage the state of a component
- how to organize its components
- how to manage the state of components
- optimize rendering
- detect and fix bugs in React code
Test author : La team W3D 💙
Clément and Vincent are two developers at WeLoveDevs.
Our stack is based on React, Firebase and Javascript / Typescript, so we spend a lot of time to experience the specifics of React ⚛️.
We think that this quiz allows to test the capacities of a developer who already has a few experience with React.
Sample question
We want to improve this component so that it displays"Green"by default.
class CSSColors extends React.Component{
constructor(props){
super(props);
this.state={colorCode: ''};
this.changeColor= this.changeColor.bind(this);
}
changeColor(evt){
this.setState({colorCode: evt.target.value});
}
render(){
return(
<div>
The color code
<select onChange={this.changeColor}>
<option value="#ff0000">Red</option>
<option value="#00ff00">Green</option>
<option value="#0000ff">Blue</option>
</select>
is{this.state.colorCode}
</div>
);
}
}
How to do ?
Developers ratings
Recommended tests
- Our interview questions for developer
- Our interview questions for Développeur Web