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

Add Remix 3 browser SDK with a bundled client entry

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

@chargome đang làm issue này rồi.

Từ ngày 23/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Remix

Add the browser side, built on @sentry/browser. There is no React in Remix 3, so nothing from @sentry/react applies.

  • Init plus pageload and navigation tracing driven by the Navigation API. Remix 3 never touches History, so the default browser tracing integration would emit nothing.
  • Capture component render errors from the event target run() returns. The runtime does not rethrow them, so window.onerror cannot see them.
  • Ship the diagnostics_channel shim as its own module. It has to stay a separate file because the browser code transform imports it by URL.
  • Export a curated named list instead of export * from '@sentry/browser', and bundle the client entry into a single tree shaken file.
  • Add the size limit budget in the same pull request.

Remix 3 has no bundler, so an unbundled client costs 255 modules and 364 KB gzipped. Bundled it is 2 modules and about 53 KB, against a 54 KB budget for the equivalent browser SDK. The wildcard re-export is what makes tree shaking impossible, and anyone adding one back silently returns us to 364 KB. The budget is the only thing that catches that, which is why it cannot wait for a later pull request.

Done when pageload, navigation and client error e2e tests pass, and the size limit budget is enforced in CI.

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.9k
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
576

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 getsentry/sentry-javascript

Tất cả issue của getsentry/sentry-javascript

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.