You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codemod misses bare SVG default tags accessed through a namespace import #2596
Run the React-to-Octane codemod in Strong mode, with project types and compiler verification. Repeat with --svg-paths.
Actual behavior
The codemod reports zero diagnostics for both runs. In the production Rsbuild fixture, Art.default is a function from the original TSX issuer and a string data URL from the emitted TSRX issuer. React SSR renders the expected SVG. Octane SSR rejects the string as a tag, and client mounting throws InvalidCharacterError.
A local const initialized from Art.default and an object binding such as const { default: Mark } = Art have the same problem.
Expected behavior
Reuse the bare SVG issuer diagnostic from #2399 when a JSX tag can resolve to the bare SVG namespace's default export. Keep explicit loader queries and unrelated namespace properties out of the diagnostic.
Activity