Consider the following React components: What are the benefits of this refactoring?

Functional components image

A: Since Square doesn't have state, functional components are clean to maintain than class components

B: Transpiled code length of refactored code (OPTION 2) is greater than older code (OPTION 1) but it runs faster

C: It is easy to test refactored code since its a plain javascript function

D: There is a significant performance boost with refactored code since React optimizes functional components