feat(micro-frontend): canonicalize global registry compatibility - #362
Merged
Conversation
gronxb
requested review from
heecheolman,
intmain,
jingjing2222,
l2hyunwoo,
leegeunhyeok and
raon0211
as code owners
August 20, 2026 18:21
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 5657c58 The changes in this PR will be included in the next version bump. This PR includes changesets to release 29 packages
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 |
@granite-js/deployment-manager
@granite-js/forge-cli
@granite-js/pulumi-aws
babel-preset-granite
@granite-js/blur-view
@granite-js/brownfield-module
@granite-js/cli
@granite-js/cookies
create-granite-app
@granite-js/screen
@granite-js/image
@granite-js/jest
@granite-js/lottie
@granite-js/micro-frontend
@granite-js/mpack
@granite-js/native
@granite-js/naver-map
@granite-js/plugin-core
@granite-js/plugin-env
@granite-js/plugin-hermes
@granite-js/plugin-micro-frontend
@granite-js/plugin-router
@granite-js/plugin-rozenite
@granite-js/plugin-sentry
@granite-js/react-native
@granite-js/style-utils
@granite-js/utils
@granite-js/video
@granite-js/vitest
commit: |
leegeunhyeok
approved these changes
Aug 21, 2026
heecheolman
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR makes
global.__MICRO_FRONTEND__the only micro-frontend global registry.The canonical global has exactly three enumerable fields:
__INSTANCES____SHARED____CONTAINERS__The retired private-global identifier has
0occurrences across the repository and the packed artifact.Internal Lifecycle Fields
The canonical context also owns internal lifecycle state through non-enumerable fields:
disposedisposeCallbacksByApppendingHostComponentStoreThere is no standalone pending-host store global.
Terminology
Legacymeans the indexed registry contract composed of__INSTANCES__and__SHARED__. It does not mean a separate global.Compatiblemeans code that bootstraps and uses the canonicalglobal.__MICRO_FRONTEND__registry.Support Matrix
global.__MICRO_FRONTEND__.Product-specific app-name remapping is unsupported.
Runtime Lifecycle
1.Compatibility Highlights
Verification
@granite-js/micro-frontendscoped tests: 27 files / 147 tests.@granite-js/plugin-micro-frontendscoped tests: 4 files / 13 tests.@granite-js/micro-frontendtests, typecheck, and build passed.7702eb99e9ef9fbe3c931007d331e3fd66c1dee061f251720f2420905e6cba22.0.1.