Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 316 Bytes

react-fc-vs-functioncomponent.md

File metadata and controls

5 lines (3 loc) · 316 Bytes

React: FC vs FunctionComponent

In our React codebases, we use FunctionComponent instead of FC. This choice was made mostly arbitrarily; the deciding factor was that FunctionComponent is slightly easier to search for than FC.

We should continue to be consistent about this unless we have a good reason to change.