feat: support interface data prefetch
Description
Support remote module send their interface request along with the module static resource in advance, rather than render to call request. This will be useful when remote module load for a long time, their request will be parallel with the module itself. And it also useful for secondary screen, the module can show directly with it's data
Related Issue
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
Checklist
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [ ] I have updated the documentation.
🦋 Changeset detected
Latest commit: 62b029d2004139de8678f1c9d9938feaa8dc51f4
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 38 packages
| Name | Type |
|---|---|
| @module-federation/data-prefetch | Patch |
| @module-federation/enhanced | Patch |
| @module-federation/modern-js | Patch |
| @module-federation/nextjs-mf | Patch |
| @module-federation/node | Patch |
| 3008-runtime-remote | Patch |
| host | Patch |
| host-v5 | Patch |
| host-vue3 | Patch |
| remote1 | Patch |
| remote2 | Patch |
| remote3 | Patch |
| remote4 | Patch |
| @module-federation/modernjs | Patch |
| modernjs-ssr-dynamic-nested-remote | Patch |
| modernjs-ssr-dynamic-remote-new-version | Patch |
| modernjs-ssr-dynamic-remote | Patch |
| modernjs-ssr-host | Patch |
| modernjs-ssr-nested-remote | Patch |
| modernjs-ssr-remote-new-version | Patch |
| modernjs-ssr-remote | Patch |
| @module-federation/runtime | Patch |
| @module-federation/rspack | Patch |
| @module-federation/webpack-bundler-runtime | Patch |
| @module-federation/sdk | Patch |
| @module-federation/runtime-tools | Patch |
| @module-federation/managers | Patch |
| @module-federation/manifest | Patch |
| @module-federation/dts-plugin | Patch |
| @module-federation/third-party-dts-extractor | Patch |
| @module-federation/devtools | Patch |
| @module-federation/bridge-react | Patch |
| @module-federation/bridge-vue3 | Patch |
| @module-federation/bridge-shared | Patch |
| @module-federation/bridge-react-webpack-plugin | Patch |
| @module-federation/retry-plugin | Patch |
| @module-federation/esbuild | Patch |
| @module-federation/utilities | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Deploy Preview for module-federation-docs ready!
| Name | Link |
|---|---|
| Latest commit | 62b029d2004139de8678f1c9d9938feaa8dc51f4 |
| Latest deploy log | https://app.netlify.com/sites/module-federation-docs/deploys/66ea8fc29b38c800087c7fbc |
| Deploy Preview | https://deploy-preview-2543--module-federation-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
mr Description information needs to let users know the corresponding information