Skip to content

Commit 07357f4

Browse files
docs(js): Update SolidStart quick start guide (#15750)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This branch contains the updated quick start guide for SolidStart. Added the missing onboarding options and sections we typically include in our guides. I pulled much of the information from the SDK's README. Closes: #15645 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
1 parent fb8e33e commit 07357f4

File tree

3 files changed

+240
-92
lines changed

3 files changed

+240
-92
lines changed

docs/platforms/javascript/guides/solidstart/features/error-boundary.mdx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,4 @@ from inside a component tree and render a fallback component.
88

99
Wrap the native Solid `ErrorBoundary` component with `Sentry.withSentryErrorBoundary`.
1010

11-
```jsx
12-
import * as Sentry from "@sentry/solidstart";
13-
import { ErrorBoundary } from "solid-js";
14-
15-
// Wrap Solid"s ErrorBoundary to automatically capture exceptions
16-
const SentryErrorBoundary = Sentry.withSentryErrorBoundary(ErrorBoundary);
17-
18-
export default function SomeComponent() {
19-
return (
20-
<SentryErrorBoundary fallback={err => <div>Error: {err.message}</div>}>
21-
<div>Some Component</div>
22-
</SentryErrorBoundary>
23-
);
24-
}
25-
```
11+
<PlatformContent includePath="getting-started-capture-errors" />

0 commit comments

Comments
 (0)