ReactJs in Random level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. What is Babel?
2. How can you optimze performance for a function component that always renders the same way?
3. Which function call will create a React component from the React API?
4. Although React Hooks generally replace class components, there are no plans to remove classes from React.
5. Which item is needed for simple routing between React component but without a React Router?
6. A copy of the 'real' DOM that is kept in memory is called what?
7. In React what is used to pass data to a component from outside?
8. We can go for keys when there is a possibility that our user could change the data.
9. React considers everything as _______.
10. JSX is faster because it performs ____________ while compiling code to JavaScript
11. What characterizes the React Router?
12. which directory React Components are saved?
13. What is the smallest building block of ReactJS?
14. Which of the following will block a button in a React form and cancel the event, from form
15. What is not a benefit of unidirectional data flow?
16. If you see the following import in a file, what is being used for state management in the
17. What will happen if you render an input element with disabled = {false}?
18. What type of element will be rendered from the following code? function Hello() { return <h1>Hello reactjs</h1>; } ReactDOM.render(<Hello />, document.getElementById('root'));
19. What tool does React use to compile JSX?
20. Which prop type in a React form component, will validate a value for an attribute is passed and
Next
Previous