docs(framework/react/guides): replace deprecated 'isServer' with 'environmentManager.isServer()'#10866
Conversation
…ironmentManager.isServer()'
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDocumentation code examples in React Query's advanced SSR and Suspense guides are updated to use ChangesDocumentation Migration to environmentManager API
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 1fa5f29
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Replaces the deprecated
isServerimport withenvironmentManager.isServer()in the React SSR guides, matching the recommended API used elsewhere in the codebase.docs/framework/react/guides/suspense.md: the streamed hydration provider exampledocs/framework/react/guides/advanced-ssr.md: the threegetQueryClient()examples (providers,get-query-client.ts, and the streamed hydration provider)✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit