Uh oh!
There was an error while loading. Please reload this page.
fix(docs): update sentry basics react tutorial - #12967
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
Bundle ReportChanges will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
coolguyzone
left a comment
There was a problem hiding this comment.
Thanks for updating! 🤙🛳️
…y-sdk.mdx Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
…y-sdk.mdx Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
a-hariti
commented
Mar 18, 2025
@coolguyzone plz take a look again and please approve this PR |
coolguyzone
left a comment
There was a problem hiding this comment.
I wasn't able to successfully code along with the updates, it seems like the sample repo would need to be updated to support this, lmk what you think!
| 1. Install the Sentry React SDK using NPM. | ||
| Make sure you're in the `frontend-tutorial` project folder. | ||
| Open src/index.js where you will find the 'Sentry.init()' call after the last import statement. Paste the DSN key value you copied from the project created in the [previous section](https://github.com/product/sentry-basics/integrate-frontend/create-new-project/) into the call and save this file: |
There was a problem hiding this comment.
The file to open here should be src/instrument.js, correct?
chargome
commented
Feb 20, 2026
stale |
related #12918
todo:
instrument.jsfile convention from the React guide