I've tried searching the web for an answer, or I may just be thinking about it too much. While watching some React videos I see devs using arrow functions two ways:
- const name = () => {} -- here ending with curly braces and
- const name = () => () -- here ending with parentheses
Is there a difference between the 2?