React Syntax Drills Flashcards
1
Q
Functional Component
A
2
Q
import React
A
3
Q
Destructing import statements
A
4
Q
importing a component to the App.js file
A
5
Q
CSS import statement for component
A
6
Q
Declaring a class
A
7
Q
fetch API call in componentDidMount
A
8
Q
setState() method with call back function
A
9
Q
Destructuring the state attributes
A
10
Q
using Ternary operator to decide whether to mount component
A
11
Q
.filter() method
A
12
Q
.map() method
A
13
Q
Custom tags with attributes that are accessed with props when rendering the custom component
A
14
Q
Syntax for adding a img from the state to a component.
A
15
Q
avoiding user memory leaks when the App component unmounts
A