ReactJs in Random level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. What is not a benefit of unidirectional data flow?
2. How can you access the state of a component from inside of a member function?
3. What props will be available to the following component? <Hello {...props} />
4. JSX is typesafe?
5. In React what is used to pass data to a component from outside?
6. When rendering a list using the JavaScript map() method, what is required for each element rendered?
7. What tool does React use to compile JSX?
8. Select the command to install gulp-connect locally.
9. Although React Hooks generally replace class components, there are no plans to remove classes from React.
10. Which input tag attribute should be set in a React reusable text input component, and is passed for
11. Which item is needed for simple routing between React component but without a React Router?
12. To develop and run React code, Node.js is required.
13. What characterizes the React Router?
14. Components cannot refer to other components in their output.
15. React keeps track of what items have changed, been added, or been removed from a list using ________.
16. props in react can________.
17. ref is used to refer a element / component returned by _______________.
18. What happens when you call setState() inside render() method?
19. How do you fix the syntax error that results from running this code? const person =(firstName, lastName) => { first:
20. Select the component used by React for the structure of HTML elements.
Next
Previous