ReactJs: Component
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Which item is needed for simple routing between React component but without a React Router?
2. Which input tag attribute should be set in a React reusable text input component, and is passed for
3. Select the component used by React for the structure of HTML elements.
4. What if added to a component's style, determines the primary axis of its layout, and if using the
5. Which method in a React Component should you override to stop the component from updating?
6. Which method call in a React component, of the 'Router.Navigation' mixin will move the user to next, after
7. The RouterHandler object is listed in which React library.
8. How many elements does a react component return?
9. React component names must begin with an uppercase letter.
10. Which operator can be used to conditionally render a React component?
11. Which function call will create a React component from the React API?
12. Which of the following will block a button in a React form and cancel the event, from form
13. What props will be available to the following component? <Hello {...props} />
14. What is the correct syntax to import a Component from React?
15. In React what is used to pass data to a component from outside?
16. Which component lifecycle method, prepopulate a form in a React form component?
17. Which code statement will set the value of a text box in the child component input field in
18. Which function in React, will show child components of a provided component?
19. What is keyword helps call a component in another component?
20. which directory React Components are saved?
Next
Previous