Re:Goodbye, Object Oriented Programming
by jaegerpicker on Sunday July 24, 2016 @08:44PM
(#12155770)
Also, now in react (as of 0.14 with stateless function components) you can define components as pure functions that return a jsx dta structure to the render function.
IE (coded by memory quickly syntax may be wonky):
const test_component = () => {
return <H1>Blah!</H1>;
}
<test_component/>