Skip to content

Instantly share code, notes, and snippets.

@ehrudxo
Created July 3, 2016 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehrudxo/93406b42f748426dd1624a24877cb768 to your computer and use it in GitHub Desktop.
Save ehrudxo/93406b42f748426dd1624a24877cb768 to your computer and use it in GitHub Desktop.
Pure Function
<a href="#" id="PureFunction">Pure Function</a>
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