You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I've been trying to implement this in our app, and so far so good, but I noticed that the library doesn't support void function components. It's mostly a semantic/type difference.
I saw the REACT_FC_NAMES const in the code, which made it seem as easy as adding VFC to make this functionality work.
I'd make a PR, but I was wondering if this all that needs to be done to add support for VFCs, or is there something more to consider (regarding children, for example)?
The text was updated successfully, but these errors were encountered:
Hi there,
I've been trying to implement this in our app, and so far so good, but I noticed that the library doesn't support void function components. It's mostly a semantic/type difference.
I saw the
REACT_FC_NAMES
const in the code, which made it seem as easy as adding VFC to make this functionality work.I'd make a PR, but I was wondering if this all that needs to be done to add support for VFCs, or is there something more to consider (regarding
children
, for example)?The text was updated successfully, but these errors were encountered: