Created
July 3, 2016 14:12
-
-
Save ehrudxo/93406b42f748426dd1624a24877cb768 to your computer and use it in GitHub Desktop.
Pure Function
This file contains 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 characters
<a href="#" id="PureFunction">Pure Function</a> |
This file contains 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 characters
function FunctionClass(){ | |
function FcPure(){ | |
return ( | |
<div>function class!</div> | |
); | |
} | |
console.dir(FcPure); | |
ReactDOM.render(<FcPure/>,document.getElementById("app")) | |
} | |
$('#PureFunction').click(FunctionClass); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment