Creating React Components
I would like to show the different ways we can create React Components. I like the
arrow function statementstyle the most.
1) Function declaration#
2) Anonymous function statement#
3) Arrow function statement#
4) default export function#
5) classic component syntax#
What is your favorite one, is there a better one than the ones I mentioned here?
Originally posted on Dev.to here.