RESULT_CODE_HUNG when updating translation files
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Reproduce the hang using pages/page1.tsx, strings.ts, and i18n/en.json, starting with an edit to the translation file while Fast Refresh is enabled. Inspect the hot reload chunk response and compare the behavior with a full refresh; done means the page remains responsive and either refreshes correctly or falls back to a full refresh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm working on migrating a fairly large project to rspack and one blocker they had with webpack was enabling Fast Refresh. There is a known issue that Rspack seems to have solved around circular dependencies, https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/190.
However, when I enable this plugin for our repo and make changes to any of our translation files, we have a few pages that hang and are completely unresponsive. The basic structure of our app is
pages/
- page1.tsx
- strings.ts
i18n/
- en.json
where strings.ts is something like
export const title = i18n.t('<key-of-en.json>');
I'd expect the page to either do a full refresh or not hang. There are no useful logs in either the browser or rspack. An example response from the hot reload chunk is
{
c: ["main"],
r: [],
m: []
}
- Ngôn ngữ chính
- TypeScript
- Star
- 20
- Fork
- 13
- Merge trung bình
- 2 giờ 55 phút
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rstackjs/rspack-plugin-react-refresh
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
-
Dependency Dashboard Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của rstackjs/rspack-plugin-react-refresh
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
vercel/vercel-plugin#199 ·