Skip to content
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

Components: Fix error in CONTRIBUTING guide #40682

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

mirka
Copy link
Member

@mirka mirka commented Apr 28, 2022

What?

Fixes a technical error in our "named export" section of our TS migration guide, and adds some examples.

Why?

Some recent PRs (#40164 #40633) made me realize that the "named export" section of our TS migration guide is a little bit wrong. I initially wrote that the unconnected component should be the named export, which is incorrect.

Also since this is a point that is rather easy to forget and very confusing when you can't figure out why the docgen isn't working, I think it would be useful to have a code snippet for added prominence.

@mirka mirka added [Type] Developer Documentation Documentation for developers [Package] Components /packages/components labels Apr 28, 2022
@mirka mirka requested a review from ciampo April 28, 2022 12:05
@mirka mirka requested a review from ajitbohra as a code owner April 28, 2022 12:05
@mirka mirka self-assigned this Apr 28, 2022
Copy link
Contributor

@ciampo ciampo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted 💡

@ciampo ciampo merged commit b964485 into trunk Apr 28, 2022
@ciampo ciampo deleted the fix/components-contribuing-guide branch April 28, 2022 13:26
@github-actions github-actions bot added this to the Gutenberg 13.2 milestone Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants