What's the point of the `VFC` component builder? I...
# react
j
What's the point of the
VFC
component builder? Is it just to avoid writing
FC<Props>
or is there more to it? And what does the V stand for?
a
Void Functional Component
Yep, it’s an alias
Copy code
typealias VFC = FC<Props>
j
Ah thanks! Yeah I found the typealias, eventually. But I still couldn't quite figure out that V!
l
V = Void
j
Thank you but Alex has already cleared that up 😉