React professionals do you organize components with arrow functions? I hope not... the guy on udemy is doing a whole project using arrow functions instead of classes 😱

  • 1
    What's the problem?

    As long as your functions are named, and you don't need anything that prototypal inheritance (classes) provide, it's actually faster to use functions. If you're writing a class for little atom or molecule components, you're doing it thoroughly wrong.
  • 0
    I think you are talking about Andrei's course, and he did used classes where ever needed. For simple components functions are enough. And I guess he mentioned this in one of his videos.
Your Job Suck?
Get a Better Job
Add Comment