-
Notifications
You must be signed in to change notification settings - Fork 4.2k
document new VoidFunctionComponent type #269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just add that this is an interim solution until the next major version of the type defs (where it will be deprecated and FunctionComponent
will by default accept no children)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
ah so i misunderstood the intent of VFC. i've updated wording now, thanks to you both |
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Also needs a format 😉 |
sigh. i need to fix that gh action to do it for me |
closes #268
cc @eps1lon if any other comments need be added, if not i will circle back n merge
other maintainers also welcome to help tweak wording