Skip to content

docs(react-native): Add PostHogErrorBoundary to SDK documentation#15008

Merged
ablaszkiewicz merged 1 commit intomasterfrom
docs-writer-ai-update-2026-02-13T00-51-52-638Z
Feb 17, 2026
Merged

docs(react-native): Add PostHogErrorBoundary to SDK documentation#15008
ablaszkiewicz merged 1 commit intomasterfrom
docs-writer-ai-update-2026-02-13T00-51-52-638Z

Conversation

@inkeep
Copy link
Copy Markdown
Contributor

@inkeep inkeep Bot commented Feb 13, 2026

Summary

This PR adds documentation for the PostHogErrorBoundary component to the React Native SDK documentation page, following the merge of PostHog/posthog#47816.

Changes

Updates contents/docs/libraries/react-native/index.mdx to add an "Error boundaries" subsection in the Error tracking section that:

  • Explains how PostHogErrorBoundary captures React rendering errors
  • Provides a complete code example with PostHogProvider, fallback prop, and additionalProperties usage
  • Documents the component props
  • Includes a caution note about duplicate error capture when console capture is also enabled

Context

The in-app onboarding docs (via the shared content architecture) already show this feature, but the main SDK reference docs didn't mention error boundaries. This update improves discoverability by documenting the feature in both places, consistent with how React Router docs document PostHogErrorBoundary.

Related

@inkeep inkeep Bot requested a review from a team February 13, 2026 00:53
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Ready Ready Preview Feb 13, 2026 1:06am

Request Review

@ablaszkiewicz ablaszkiewicz merged commit 6bcd12d into master Feb 17, 2026
16 checks passed
@ablaszkiewicz ablaszkiewicz deleted the docs-writer-ai-update-2026-02-13T00-51-52-638Z branch February 17, 2026 17:08
sarahxsanders pushed a commit that referenced this pull request Feb 27, 2026
…tracking (#15008)

Co-authored-by: inkeep[bot] <257615677+inkeep[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant