Svgs crash the app #23468
Labels
blocked: more info needed
outdated
scope: react
Issues related to React support for Nx
stale
type: bug
Current Behavior
After upgrading from 18nx to 19 in React project I have this issue:
Failed to execute 'createElement' on 'Document': The tag name provided ('http://localhost:4200/fintiba-logo.939a27c492f3b4a984045f1df5584f2b.svg') is not a valid name.
I checked if replace it with
import { ReactComponent as Logo } from './logo.svg';
it works, But I don't want to change it everywhere.Expected Behavior
After upgrading to latest NX version expect imports work as before.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: