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

ignore JSX built-in components / DOM elements #178

Closed
grahamdyson opened this issue Oct 15, 2023 · 1 comment
Closed

ignore JSX built-in components / DOM elements #178

grahamdyson opened this issue Oct 15, 2023 · 1 comment

Comments

@grahamdyson
Copy link
Member

When writing JSX there are built-in components for the standard DOM elements e.g. a, div, input; however, these aren't represented in the JavaScript imports. Eunice tries to resolve these dependences and if it can find other code with the same identifier (e.g. a custom Input component) it will incorrectly use that for the dependency.

Adding a list of identifiers to ignore when analysing JSX would avoid this problem. A default could be set to list the standard DOM elements.

@grahamdyson
Copy link
Member Author

released in JavaScript 8.3.0

@grahamdyson grahamdyson changed the title JSX built-in components / DOM elements aren't ignored ignore JSX built-in components / DOM elements Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant