-2

Can anyone enlighten on the advantages or disadvantages to using React in a purely functional manner vs the OO approach.
Are there performance gains to get or is it a matter of preference?

Bjarke Sporring
  • 528
  • 5
  • 7

1 Answers1

0

If you use functional components you can use the new react features like hooks and context API, but you can do the same thing with classes but without hooks!

Zaid
  • 29
  • 6