Skip to content

[JavaScript] TanStack Start SDK #14990

@mydea

Description

@mydea

Description

We already have a router instrumentation for TanStack Router, but we also want to add a proper e.g. @sentry/tanstack SDK.

Currently, TanStack Start relies on Vinxi on the backend but this will be replaced by Nitro before TanStack Start releases version 1.0.0.

  • Add a guide in docs about manually setting this up
  • Add to in-product onboarding for manually setting this up
  • Add actual proper SDK, eventually - this will need proper Nitro support!

Stub Functions

The SDK currently includes functions with no-op implementations to make it easier to update the SDK with new functionality without having to change the code.

Nitro Support

In the Nuxt SDK, the Nitro server is instrumented with Nitro plugins (Sentry Nitro Plugin).
TanStack Start currently does not offer changing the Nitro config (for adding modules, plugins etc.). There is an open issue for making it configurable: TanStack/router#4404. The config for Nitro will most likely be decoupled from the Start config (separate Vite plugin) as mentioned in this comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions