Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add Remix 3 browser SDK with a bundled client entry

Offen
#24,665 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@chargome arbeitet bereits daran.

Seit 23.9.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.9k
Ø Merge
1 T. 16 Std.
Gemergte PRs (30 T.)
576

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/sentry-javascript

Alle Issues in getsentry/sentry-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.