React Syntax Drills Flashcards

1
Q

Functional Component

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

import React

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Destructing import statements

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

importing a component to the App.js file

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CSS import statement for component

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Declaring a class

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

fetch API call in componentDidMount

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

setState() method with call back function

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Destructuring the state attributes

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

using Ternary operator to decide whether to mount component

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

.filter() method

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

.map() method

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Custom tags with attributes that are accessed with props when rendering the custom component

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Syntax for adding a img from the state to a component.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

avoiding user memory leaks when the App component unmounts

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

8) Syntax example for a userReducer function

A