We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e96c812 commit 45074d8Copy full SHA for 45074d8
module-federation-vite-react/host/src/App.tsx
@@ -3,12 +3,12 @@ import { of, tap } from 'rxjs';
3
import './App.css';
4
import Counter from './components/Counter';
5
6
-export default () => {
7
- const Remote = lazy(
8
- // @ts-ignore
9
- async () => import('remote/remote-app'),
10
- );
+const Remote = lazy(
+ // @ts-ignore
+ async () => import('remote/remote-app'),
+);
11
+export default () => {
12
useEffect(() => {
13
of('emit')
14
.pipe(tap(() => console.log("I'm RxJs from host")))
0 commit comments