Add mixins property to context example (#7277)
Fernando Alex Helwanger committed
Jul 14, 2016 at 06:43 UTC
f6d429300366a29d76d0eae08cb8cd833024adfd
1 file changed
+2
docs/_posts/2016-07-13-mixins-considered-harmful.md
+2
@@ -489,6 +489,8 @@ var RouterMixin = {
489
};
490
491
var Link = React.createClass({
492
+ mixins: [RouterMixin],
493
+
494
handleClick: function(e) {
495
e.stopPropagation();
496