Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Loading data into DataArray component blocks UI

Đang mở
#79 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
frontend, performance

Hướng nghiên cứu

Start with the linked reproduction at test-vtk2.vercel.app and its src/App.js, then trace how the DataArray component loads the larger dataset. Measure the main-thread blocking time and define done as loading the dataset without freezing the UI, while preserving the displayed VTK data.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We are noticing that our UI freezes when loading larger datasets into VTK. Here is a contrived example. The data being loaded here is smaller than what will typically be loaded.

In production, on my M1 Max, this dataset blocks for ~130ms. One of our larger datasets in our app was blocking for >900ms.

If I slow my CPU down by 6x, this smaller dataset will block the main thread for ~1.2s.

https://test-vtk2.vercel.app/
https://github.com/nyoung697/test-vtk2/blob/main/src/App.js

Is there a better way to load larger datasets, without blocking the main thread?

Ngôn ngữ chính
TypeScript
Star
86
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Kitware/react-vtk-js

Tất cả issue của Kitware/react-vtk-js

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.