Browse Source

Add mixins property to context example (#7277)

main
Fernando Alex Helwanger 9 years ago
committed by Dan Abramov
parent
commit
99adf5da96
  1. 2
      _posts/2016-07-13-mixins-considered-harmful.md

2
_posts/2016-07-13-mixins-considered-harmful.md

@ -489,6 +489,8 @@ var RouterMixin = {
};
var Link = React.createClass({
mixins: [RouterMixin],
handleClick: function(e) {
e.stopPropagation();

Loading…
Cancel
Save