Skip to content

Support for @component in React? #1618

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

Closed
maniac-0s opened this issue Nov 21, 2023 · 2 comments
Closed

Support for @component in React? #1618

maniac-0s opened this issue Nov 21, 2023 · 2 comments

Comments

@maniac-0s
Copy link

Lint reports that it does not recognize @component tag

/home/projects/src/components/Image.js
8:1 warning unknown tag @component

It would make sense for React to have components recognized.

@tmcw
Copy link
Member

tmcw commented Nov 21, 2023

documentation.js is written around the JSDoc standard, which doesn't include @component. There are additional tags extended by TypeScript, but @component isn't one of them. Is there a tool or specification that defines this tag?

@tmcw
Copy link
Member

tmcw commented Jan 30, 2024

Closing, PRs accepted as always, hopefully based on known parts of the spec.

@tmcw tmcw closed this as completed Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants