Skip to content

Commit ac5e74f

Browse files
committed
P/S
1 parent 635d87c commit ac5e74f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* 1. How does React know which HTML attributes can be passed
3+
* to each HTML element?
4+
*
5+
* On which interfaces/types are they stored?
6+
*/
7+
8+
/**
9+
* 2. Try CMD-clicking on the 'div' below. What information
10+
* does that give you?
11+
*/
12+
<div />;
13+
14+
/**
15+
* 3. Try CMD-clicking on the className prop below. What
16+
* interface does it lead you to?
17+
*/
18+
<div className="foo" />;
19+
20+
/**
21+
* 4. Finally, try CMD-clicking on the 'href' prop below.
22+
* What interface does it lead you to?
23+
*/
24+
<a href="/" />;

0 commit comments

Comments
 (0)