
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@uploadthing/react
Advanced tools
Learn more: docs.uploadthing.com
// Name is temp
import { UploadButton } from "@uploadthing/react";
import type { FileRouter } from "./someUploadRouter";
export const SomePage = () => {
return (
<UploadButton<FileRouter>
endpoint="someTypesafeEndpoint"
onNewFileDropped={(file) => {
console.log("new file added by user", file);
}}
onClientStartedUpload={(file) => {
console.log("new file added by user", file);
}}
onClientFinishedUpload={(file) => {
console.log(file);
}}
/>
);
};
// Name is temp
import { UploadFileView, UploadProvider, UploadZone } from "@uploadthing/react";
import type { FileRouter } from "./someUploadRouter";
export const SomePage = () => {
return (
<UploadProvider<FileRouter>
endpoint="someTypesafeEndpoint"
onUpload={(file) => {
console.log(file);
}}
>
<div>Whatever You Want</div>
<UploadZone>
<div>Drop files here (you can style this yourself)</div>
</UploadZone>
<UploadFileView />
</UploadProvider>
);
};
FAQs
Learn more: [docs.uploadthing.com](https://docs.uploadthing.com)
The npm package @uploadthing/react receives a total of 46,500 weekly downloads. As such, @uploadthing/react popularity was classified as popular.
We found that @uploadthing/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.