import React from 'react' import ReactDOM from 'react-dom' import { HashRouter, Routes, Route, Link } from 'react-router-dom' import { MF } from 'thx-portal' import { Box, Loading } from '@alifd/next' import './style.scss' export default function Portal () { return <>

React Host Portal

Hash Router Examples:

{/* */}
  1. ● #/
  2. ● #/react-host-app/hello Component from host app.
  3. ● #/react-remote-app/hello component from remote app.
index
} /> } remote='http://localhost:9101/remote.js' library={'react-host-app'} version={'0.0.1'} module='components/Hello' /> } /> } remote='http://localhost:9102/remote.js' library={'react-remote-app'} version={'0.0.1'} module='components/Hello' /> } /> } /> 404
} ReactDOM.render(, document.getElementById('portal'))