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
While using JSX, resulting import shadowed the type from another file being imported which resulted in
"Uncaught TypeError: class constructors must be invoked with 'new'"
Yes, unfortunately this can be an issue. Maybe we can try to raise a warning if we detect that an import from JSX (or any other emitted JS) conflicts with any other identifier in the file scope.
Description
While using JSX, resulting import shadowed the type from another file being imported which resulted in
"Uncaught TypeError: class constructors must be invoked with 'new'"
Repro code
Bearle/django_private_chat2@e2c455f
This commit fixes the problem
Related information
Fable: 4.0.0-theta-011
Fable.Core: 4.0.0-theta-006
Feliz: 2.0.0-prerelease-003
Fable.React.UseElmish: 1.0.0-beta-001
@alfonsogarciacaro
The text was updated successfully, but these errors were encountered: