docs(preact-query): import 'noop' from '@tanstack/preact-query' instead of '@tanstack/query-core' in examples - #11283
Conversation
…ad of '@tanstack/query-core' in examples
|
View your CI Pipeline Execution ↗ for commit a9e8b2c
☁️ 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 📦
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe PR updates Preact Query examples to import ChangesPreact example updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This updates documentation examples to import 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3 files. (3 skipped: 3 unsupported.) ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
Follow-up to #11204. The
@exampleblocks inqueryOptions.ts,infiniteQueryOptions.ts, andHydrationBoundary.tsximportednoopfrom@tanstack/query-core, but@tanstack/preact-queryre-exports everything from@tanstack/query-core(export * from '@tanstack/query-core'inindex.ts), so the examples can importnoopdirectly from@tanstack/preact-query— the package the example already depends on — instead of adding an extra import from a package the example otherwise never references.Regenerated
docs/framework/preact/reference/withpnpm run generate-docsto pick up the updated examples.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit
noop.