Skip to content

Commit 430bfc9

Browse files
committed
Adding implementation for the lesson-03
1 parent bc8c07b commit 430bfc9

File tree

2 files changed

+4957
-2
lines changed

2 files changed

+4957
-2
lines changed
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
import React from 'react'
1+
// modules/App.js
2+
import React from 'react';
3+
import {Link} from 'react-router';
24

35
export default React.createClass({
46
render() {
5-
return <div>Hello, React Router!</div>
7+
return (
8+
<div>
9+
<h1>React Router Tutorial</h1>
10+
<ul role="nav">
11+
<li><Link to="/about">About</Link></li>
12+
<li><Link to="/repos">Repos</Link></li>
13+
</ul>
14+
</div>
15+
)
616
}
717
})

0 commit comments

Comments
 (0)