Skip to content

Commit

Permalink
Add support for react 15.0.1 (gatsbyjs#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski authored and KyleAMathews committed Apr 19, 2016
1 parent c44202b commit 1cf767d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"babel-preset-react": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"front-matter": "^2.0.7",
"gatsby": "^0.9.0",
"gatsby": "^0.10.0",
"highlight.js": "^9.3.0",
"history": "^2.0.2",
"js-yaml": "^3.6.0",
Expand All @@ -21,8 +21,8 @@
"markdown-it-sub": "^1.0.0",
"object-assign": "^4.0.1",
"react-document-title": "^2.0.1",
"react-headroom": "^1.8.1",
"react-responsive-grid": "^0.3.2",
"react-headroom": "^1.8.2",
"react-responsive-grid": "^0.3.3",
"react-router": "^2.2.4",
"toml-js": "0.0.8",
"typography": "^0.7.0"
Expand Down
4 changes: 2 additions & 2 deletions pages/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default class ReactComponent extends React.Component {
<h1>React.js components</h1>
<h3>Counter example</h3>
<p>{this.state.count}</p>
<button onClick={this.handlePlusClick.bind(this)}>+</button>
<button onClick={this.handleMinusClick.bind(this)}>-</button>
<button onClick={() => this.handlePlusClick()}>+</button>
<button onClick={() => this.handleMinusClick()}>-</button>
</div>
)
}
Expand Down

0 comments on commit 1cf767d

Please sign in to comment.