feat(rsbuild): add RSC federation host/remote example#13204
feat(rsbuild): add RSC federation host/remote example#13204ScriptedAlchemy wants to merge 29 commits intocursor/manifest-rsc-client-data-d493from
Conversation
|
Cursor Agent can help with this pull request. Just |
Rsdoctor Bundle Diff Analysis
Found 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
❌ Size increased by 83.63KB from 49.01MB to 49.09MB (⬆️0.17%) |
Merging this PR will not alter performance
Comparing Footnotes
|
|
@ScriptedAlchemy We should move Rsbuild RSC example in https://github.com/rstackjs/rsbuild-plugin-rsc/tree/main/examples |
yeah i know, im trying to build up a pr chain where incrementally layer on requirements, rsc data i need, then some basline rsc application to e2e it against to ensure manifest data is emitted and the refs are all correct, in the manifests, then connect the apps togehter and write a runtime dynamic registration layer for consumers so remote cna register client refs into host at runtime |
Deploying rspack with
|
| Latest commit: |
f393a02
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://50f40aaa.rspack-v2.pages.dev |
| Branch Preview URL: | https://cursor-rsbuild-rsc-federatio.rspack-v2.pages.dev |
2266fc4 to
d5a3b9a
Compare
9142072 to
8380495
Compare
d625616 to
5686d5e
Compare
8380495 to
dcc2e78
Compare
…d493' into cursor/rsbuild-rsc-federation-example-5928 # Conflicts: # crates/rspack_plugin_mf/src/container/container_entry_module.rs # pnpm-lock.yaml
…ld-rsc-federation-example-5928
…ld-rsc-federation-example-5928
…-rsc-federation-example-5928
…-rsc-federation-example-5928
…-rsc-federation-example-5928
…d493' into cursor/rsbuild-rsc-federation-example-5928
…d493' into cursor/rsbuild-rsc-federation-example-5928 # Conflicts: # pnpm-lock.yaml
…ld-rsc-federation-example-5928
…ld-rsc-federation-example-5928
…ld-rsc-federation-example-5928
…ld-rsc-federation-example-5928
Summary
Stack
Current stack, bottom to top:
feat(mf): layer-aware sharing and runtime scope-array supportfeat(mf): emit RSC metadata in federation manifestsfeat(rsbuild): add RSC federation host/remote example<- this PRfeat(rsbuild): add RSC federation module patternsfeat(rsc): register federation manifest data at runtimeWhy This PR Exists
This PR establishes the example workspace and baseline verification surface for the stack. It intentionally stops short of the broader module-pattern surface and the runtime-registration plugin.
References