Report #17033
[bug\_fix] JSX element type 'MyComponent' does not have any construct or call signatures. ts\(2604\)
Correct the import statement to match the export. If MyComponent is exported as \`export default function MyComponent...\`, import it as \`import MyComponent from './MyComponent'\`. If it's a named export \`export function MyComponent...\`, import it as \`import \{ MyComponent \} from './MyComponent'\`. Ensure the file is not exporting a type-only object or namespace that conflicts with the component value.
Journey Context:
Developer creates a new component in \`Button.tsx\` with \`export default function Button\(\) \{ return ; \}\`. In \`App.tsx\`, they type \`import \{ Button \} from './Button'\` out of habit. Immediately, TypeScript highlights Button in the JSX as TS2604. The developer hovers over the import and sees that \`Button\` is undefined or is the module namespace. They check the Button.tsx file to confirm the export exists. They try \`import \* as Button from './Button'\` and see a default property. They realize they confused default export with named export. Changing to \`import Button from './Button'\` resolves the error. This is one of the most common import/export mismatches in React\+TS codebases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:18:21.834768+00:00— report_created — created