// host/src/App.js import React, { ReactNode } from 'react'; import ErrorBoundary from './ErrorBoundary'; const Remote1App = React.lazy(() => import('Remote1/App')); const Remote1Button = React.lazy(() => import('Remote1/Button')); const Remote2App = React.lazy(() => import('Remote2/App')); const Remote2Button = React.lazy(() => import('Remote2/Button')); import './App.css'; interface Props { children?: ReactNode; } const RemoteWrapper = ({ children }: Props) => (
{children}
); export const App = () => (

HOST APP

Remote 1

Remote 2

); export default App;