a2ui-project / a2ui-project/a2ui

Hot reload does not work with GenUI catalog generated UIs

未关闭
#1,853 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component: genui P2 status: first-line-handled
主要语言
TypeScript
星标
16.4k
派生
1.3k
平均合并
2 天 13 小时
30 天内合并 PR
134

描述

_↴ Ported from [flutter/genui#654](https://github.com/flutter/genui/issues/654) — originally opened by [abdallahshaban557](https://github.com/abdallahshaban557) on 2026-01-07._
_Original labels: P2, front-line-handled_

---

**Describe the bug**
When a UI is already generated with GenUI, and then I go to the catalog and make a change to the catalog item, I need to do a restart of the app to get the new UI changes visible.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to your project that already have GenUI installed and implemented, with a catalog of custom widgets.
2. Change some elements of the UI for the widget.
3. Hot reload your app.
4. You will see that your UI is not updated.

**Expected behavior**
When I make a UI change to my widgets, I expect that hot reload should work.

**Additional context**

---

### 1 comment(s) from the original issue

**[jacobsimionato](https://github.com/jacobsimionato)** commented on 2026-01-07:

Would you be willing to look into this, @andrewkolos ?

贡献指南

打开贡献指南

调研方向

The issue is about hot reload not updating UIs generated by GenUI after catalog changes. Start by examining the GenUI catalog generation process and how it integrates with Flutter's hot reload mechanism. Look for the code that handles widget updates during hot reload, possibly in the catalog or code generation modules. Test by making a change to a catalog item and observing the hot reload flow to identify where the update is missed.

由索引模型根据 Issue 内容生成。

评估

技术栈
flutter, typescript
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。