Skip to content
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

react 热更新问题 #1320

Open
francoly opened this issue Aug 1, 2024 · 0 comments
Open

react 热更新问题 #1320

francoly opened this issue Aug 1, 2024 · 0 comments
Labels
common common question

Comments

@francoly
Copy link

francoly commented Aug 1, 2024

问题描述

问题的具体描述
背景1:在 Micro App 项目中,子母盘都使用rsbuild 方式构建,
问题:在子母盘 hmr 都打开情况下,子盘更新数据时,在子盘独立打开时可以进行热更新,而在嵌入在母盘中是则无法进行热更新
背景2:在 Micro App 项目中,子母盘都使用Vite 方式构建,
问题:同问题1一样

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。
https://github.com/francoly/micro-app-demo

环境信息

  • micro-app版本:1.0.0-rc.6
  • 主应用前端框架&版本:react 18
  • 子应用前端框架&版本:react 18 / vue
  • 构建工具&版本:rsbuild @0.6.14 / vite @2.7.2
@bailicangdu bailicangdu added the common common question label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common common question
Projects
None yet
Development

No branches or pull requests

2 participants