Closed notEpsilon closed 2 weeks ago
Latest commit: b70313610c26948cb8a7533b3a3e602bb03b26a9
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
docs-uploadthing | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 2, 2024 10:07am |
The changes in this pull request focus on enhancing the documentation for integrating UploadThing with the Next.js App Router. Key updates include a new section detailing server-side rendering (SSR) improvements using the <NextSSRPlugin />
, along with a corrected import statement for the connection
function. The documentation clarifies how to utilize the plugin within a Suspense
component, ensuring optimal performance. The structure remains consistent, preserving the existing guidance on creating a Next.js API route with FileRouter.
File Path | Change Summary |
---|---|
docs/src/app/(docs)/getting-started/appdir/page.mdx | Added section on SSR improvements with <NextSSRPlugin /> , corrected import of connection , and clarified usage in Suspense . |
app/layout.tsx | Renamed variable connnection to connection . |
📚 documentation
🐰 In the meadow, where knowledge blooms,
A guide emerges, dispelling the glooms.
With SSR magic and connections so bright,
UploadThing dances in the Next.js light!
Hop along, dear friends, to learn and explore,
For in these docs, there’s wisdom galore! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
<NextSSRPlugin />
component.connection
function and provided usage guidance.