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
with "jsx": "react-jsx" in tsconfig.json we no need direct import React
some libraries use named imports of hooks and etc. and can not find it
I uncomment call of compensateExports #501 and now it works fine.
FIY: @jogelin - you add todo with question about should we delete unused compensateExports, looks like it's usable feature. @manfredsteyer - you comment call of compensateExports, maybe you have some reason for do it
The text was updated successfully, but these errors were encountered:
We are used Native Federation with Vite and esbuild adapter.
Adapter is not call
compensateExports
for named imports.Instead used named imports:
We should use default:
It's not comfortable because:
"jsx": "react-jsx"
in tsconfig.json we no need direct import ReactI uncomment call of compensateExports #501 and now it works fine.
FIY:
@jogelin - you add todo with question about should we delete unused
compensateExports
, looks like it's usable feature.@manfredsteyer - you comment call of
compensateExports
, maybe you have some reason for do itThe text was updated successfully, but these errors were encountered: