import React, { Suspense, lazy } from 'react'; import TestRemoteHook from './test-remote-hook'; import LocalBtn from './components/ButtonOldAnt'; import WebpackPng from './webpack.png'; import WebpackSvg from './webpack.svg'; import { WebpackPngRemote, WebpackSvgRemote } from './Remote1'; import Remote2 from './Remote2'; const Root = () => (
| Test case | Expected | Actual | |
| ✅ | Test hook from remote localhost:3006 |
Page with custom remote hook. You must see text in red box below:
Custom hook from localhost:3006 works!
|
|
| ✅ |
Loading remote component with PNG image from localhost:3006
(check publicPath fix in image-loader) |
|
|
| ✅ |
Loading remote component with SVG from localhost:3006
(check publicPath fix in url-loader) |
|
|
| Test case | Expected | Actual | |
| ✅ | Loading dynamic remote Button from localhost:3007 |
|
|