uploadthing
uploadthing copied to clipboard
chore: rename solid helper to `createUploadThing`
Ref: https://github.com/pingdotgg/uploadthing/pull/225#issuecomment-2041461668
Follows createSignal
, createEffect
, createMemo
etc etc, as well as some community libs (createQuery
for TanStack Query for example)
🦋 Changeset detected
Latest commit: 90b380aa35eb47dd1aa2600fc9b9fdbb0f78f107
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
Name | Type |
---|---|
@uploadthing/solid | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another 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 | Sep 6, 2024 6:32pm |
Not sure if it matters, but we use createUploadthing()
for creating the router on the backend already...
Not sure if it matters, but we use
createUploadthing()
for creating the router on the backend already...
should be fine, because its only exported in the uploadthing/server
package and only imported once in server side code, making any conflicts quite unlikely.
making any conflicts quite unlikely.
less concerned about actual code related conflicts, more about it being confusing for users.
📦 Bundle size comparison
Bundle | Size (gzip) | Visualization |
---|---|---|
Main | 39.85KB | See Treemap 📊 |
PR (e2d8e6eb50e543df1b01adc95d46c5d2bcace109) | 39.85KB | See Treemap 📊 |
Diff | No change |
More templates
pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/solid@747
commit: 90b380a