Skip to content

docs(js): Add docs for Hydrogen with RR7 #14613

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onurtemizkan
Copy link
Collaborator

Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2025 0:45am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Aug 11, 2025 0:45am

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive documentation for Shopify Hydrogen framework integration with Sentry, covering both legacy Remix v2 versions and newer React Router 7 versions. The documentation is split to accommodate the framework transition that occurred in Hydrogen version 2025.5.0.

Key changes:

  • Updated legacy Hydrogen documentation (pre-2025.5.0) with clarified version scope and improved examples
  • Added new documentation for modern Hydrogen with React Router 7 (2025.5.0+)
  • Provided migration guidance between the two approaches

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix.mdx Updated legacy Hydrogen guide with version clarification, improved code examples, and cross-references to new React Router guide
docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router.mdx New comprehensive guide for Hydrogen with React Router 7, including server/client setup, SSR configuration, and build tooling

Copy link

codecov bot commented Aug 11, 2025

Bundle Report

Changes will increase total bundle size by 4.91kB (0.02%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.85MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.38MB 4.91kB (0.04%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
server/middleware-*.js -5.55kB 1.0kB -84.74%
static/CS8ZK6W1NXfWHCii1Q4Qd/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/CS8ZK6W1NXfWHCii1Q4Qd/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/xZbzCaLdZEd5g3z-*.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/xZbzCaLdZEd5g3z-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.77MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%
../app/[[...path]]/page.js.nft.json 1.64kB 745.35kB 0.22%
../app/platform-redirect/page.js.nft.json 1.64kB 745.27kB 0.22%
../app/sitemap.xml/route.js.nft.json 1.64kB 742.74kB 0.22%

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