a2ui-project / a2ui-project/a2ui
Hot reload does not work with GenUI catalog generated UIs
- Ngôn ngữ chính
- TypeScript
- Star
- 16.4k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 134
Mô tả
_↴ 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 ?
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- flutter, typescript
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100