34 ms·
If you don't like the "boilerplate" of a single class definition, use a functional component, which is just a function that returns JSX, that is also a componen
by johnfn 10y ago
If you don't like the "boilerplate" of a single class definition, use a functional component, which is just a function that returns JSX, that is also a component. It could literally not be more straightforward.
Or could you not hear me over the sound of that axe you're grinding? :)
- mtzaldo 10y ago*stateless components
- deleted 10y ago[deleted]