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.
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.