Skip to content

feat: support dynamic type hints #2570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 13, 2024
Merged

Conversation

2heal1
Copy link
Member

@2heal1 2heal1 commented Jun 3, 2024

Description

  • support dynamic type hints
  • support hot reload dynamic remote types
  • add registerRemote hook
    dynamic-remote-hot-types-reload-static

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copy link

changeset-bot bot commented Jun 3, 2024

🦋 Changeset detected

Latest commit: b0e4212

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@module-federation/third-party-dts-extractor Patch
@module-federation/dts-plugin Patch
@module-federation/runtime Patch
@module-federation/sdk Patch
@module-federation/enhanced Patch
@module-federation/manifest Patch
@module-federation/rspack Patch
@module-federation/devtools Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/runtime-tools Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/managers Patch
@module-federation/utilities Patch
3008-runtime-remote Patch
@module-federation/modernjs Patch
node-dynamic-remote-new-version Patch
node-dynamic-remote 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

@2heal1 2heal1 requested a review from zhoushaw June 3, 2024 13:13
Copy link

netlify bot commented Jun 3, 2024

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit b0e4212
🔍 Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/6667c20fb53252000831f78c
😎 Deploy Preview https://deploy-preview-2570--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@crutch12
Copy link
Contributor

@ilteoood

Could we add support for this feature in @module-federation/native-federation-typescript?

@zhoushaw zhoushaw merged commit 685c607 into main Jun 13, 2024
9 checks passed
@zhoushaw zhoushaw deleted the feat/support-dynamic-type-hints branch June 13, 2024 09:46
@2heal1 2heal1 mentioned this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants