Skip to content

Commit 75c1b5c

Browse files
committed
2nd step: Link Game Component with the DOM.
1 parent fbc8696 commit 75c1b5c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ class Game extends React.Component {
1515
);
1616
}
1717
}
18+
19+
// ==================================
20+
21+
ReactDOM.render(
22+
<Game />, // Load Game component into DOM
23+
document.getElementById('root')
24+
)

0 commit comments

Comments
 (0)