Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-uploader

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-uploader - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

BUILD.md

2

package.json
{
"name": "react-uploader",
"version": "2.2.0",
"version": "2.2.1",
"author": "Upload <hello@upload.io> (https://upload.io)",

@@ -5,0 +5,0 @@ "description": "React File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐",

import { useCallback, useState } from "react";
/**
* Unlike 'useRef', 'useElementRef' will trigger a rerender when the reference is updated.
*/
export function useElementRef(): [HTMLElement | undefined, (e: HTMLElement | null) => void] {

@@ -4,0 +7,0 @@ const [element, setElement] = useState<HTMLElement | undefined>(undefined);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc