3 ms·
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 fun
by jaegerpicker 10y ago
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/>