Federation Runtime with loadRemote, Typescript and React.lazy types do not match #2951
Unanswered
mariolaturowska
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey can you provide the minimal reproduce repo ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using Federation Runtime with loadRemote and Typescript, expected type is Promise or null. Hovewer this is not what is expected by React.lazy.

Below there is a screen with issue:
Previously while using
importRemotes
from@module-federation/utilities
this issue did not exist.How this should be properly handled?
Beta Was this translation helpful? Give feedback.
All reactions