Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js 13 Support #6056

Closed
lobsterkatie opened this issue Oct 27, 2022 · 0 comments
Closed

Next.js 13 Support #6056

lobsterkatie opened this issue Oct 27, 2022 · 0 comments
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@lobsterkatie
Copy link
Member

lobsterkatie commented Oct 27, 2022

Problem Statement

Next.js 13 has just come out, and brings with it various changes we'll need to support.

  • The use of react's use rather than getStaticProps or getServerSideProps. Among other things, this seems to mean that data fetchers will no longer have set names we can look for. 🎺
  • Layouts and component-level data fetching. Will pages still be the main unit of traceable code?
  • Streaming. No idea what effect this will have, if any.
  • Turbopack. The entire SDK is reliant on webpack for inserting code in the relevant places. For now turbopack is in alpha, is opt-in, and only works in dev, so this doesn't need to be solved immediately, but in the long run we will likely have to adapt all of our config code to work with both webpack and turbopack.

Docs PR telling people that new features aren't yet supported: getsentry/sentry-docs#5694

#6290

@lobsterkatie lobsterkatie added Type: Improvement Package: nextjs Issues related to the Sentry Nextjs SDK Status: Backlog and removed Type: Improvement labels Oct 27, 2022
@AbhiPrasad AbhiPrasad added this to the NextJS Improvements milestone Oct 27, 2022
lobsterkatie added a commit to getsentry/sentry-docs that referenced this issue Oct 27, 2022
Next 13 has just been released, and it includes new features we don't yet support. This adds a note saying so to the top of our nextjs docs.

Issue tracking support in the SDK: getsentry/sentry-javascript#6056
@HazAT HazAT closed this as completed Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

No branches or pull requests

3 participants