Skip to content

Commit 3f0d97c

Browse files
committed
Merge pull request #60 from alexnaldo/patch-1
Fix example
2 parents fd3b5bf + cc50824 commit 3f0d97c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ From the "Hello world!"-page you can then navigate further to a new component by
7171
```javascript
7272
class HelloPage extends React.Component {
7373

74+
constructor(props) {
75+
super(props);
76+
77+
this.nextPage = this.nextPage.bind(this);
78+
}
79+
7480
nextPage() {
7581
this.props.toRoute({
7682
name: "A new screen",

0 commit comments

Comments
 (0)