Hacker News new | ask | show | jobs
by johnfn 3365 days 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? :)

1 comments

*stateless components