2 ms·
well, no. const Foo = props => <div {...props}/> Is a valid "stateless component". They are just the render function.
by armandososa 10y ago
well, no.
const Foo = props => <div {...props}/>
Is a valid "stateless component". They are just the render function.