-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update/mimi js page #1043
Update/mimi js page #1043
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ftr, this looks fine to me structurally but I don't have a lot of expertise on the js ecosystem. I think the structure would work well for python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just clean up PR description/title and ship it.
You should `init` the Sentry Browser SDK as soon as possible during your page load: | ||
|
||
``` javascript | ||
Sentry.init({ dsn: 'https://<key>@sentry.io/<project>' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wny not use the __PUBLIC_DSN__
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evanpurkhiser is that recommended? All of our "Getting Started" docs have this format. I just want to make sure we're using the proven/good/recommended way.
Updating the JavaScript SDK pages with some suggestions that were recently made.