-
-
Save ar5had/5c13dad95bfe6f3b8ce41b846cd38f7d to your computer and use it in GitHub Desktop.
Revisions
-
alexeisavca revised this gist
Dec 28, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ var React = require('react/addons'); var ReactIgnore = { displayName: 'ReactIgnore', shouldComponentUpdate (){ return false; }, render (){ return React.Children.only(this.props.children); } }; -
alexeisavca created this gist
Dec 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ var React = require('react/addons'); var ReactIgnore = { displayName: 'ReactIgnore', shouldComponentUpdate: function (){ return false; }, render: function (){ return React.Children.only(this.props.children); } }; module.exports = { Class: ReactIgnore, Component: React.createClass(ReactIgnore) };