Comments (2)
Yes, this fetch hook should / could work similar to createScript hook.
fetch hook would need to be bound into bundlerRuntime too, so that we have an additional require.f.XX handler where we can fetch chunks.
Alternatively, we split this.
We have fetch() which would allow user to apply headers / tokens / custom fetch implementation, this can be used for any and all fetch() calls dispatched from module federation
then we could have loadChunk hook?
loadChunk({fetch, id, chunkName, remoteInfo})?
Or do you want to use fetch hook for all and we have something like {fetch({type: 'manifest' | 'chunk' | 'container'})?
from universe.
🎉 This issue has been resolved in version 1.1.0-canary.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from universe.
Related Issues (20)
- Missing `dist` in the release of `@module-federation/bridge-vue3` HOT 2
- Critical dependency warning in @module-federation/utilities due to dynamic import HOT 6
- add option to exclude shared dependencies from build HOT 6
- Nx angular dynamic mfe got NG0203 error HOT 6
- @module-federation/enhanced v0.3.1 includes reference to missing module in .d.ts file HOT 2
- TS errors after switching from webpack's Module Federation to Module Fedaration V2 HOT 1
- federation runtime vue 3 remotes with getPublicPath generates double calls (one with wrong public path) HOT 1
- Support for React-Native
- `errorLoadRemote` doesn't trigger HOT 2
- @mf-types.zip not being generate since 0.2.7 HOT 4
- Federation Runtime can't use SDK function while running at Nextjs HOT 3
- Feature: MFE import functions HOT 5
- Federation Runtime not sharing same react context HOT 10
- React with Web Worker Error
- [ Federation Runtime ]: The remote "app" is already registered. If you want to merge the remote, you can set "force: true".
- Issue: Incomplete Type Generation with DTS Plugin in module-federation/enhanced
- Docs: Users need documentation on common errors when starting with module-federation HOT 1
- Navigation cross remotes get 404
- `runtimePlugin_js__WEBPACK_IMPORTED_MODULE_1__ is not a function`
- Docs: why does the example for the button producer not use a <button> tag?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universe.