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

@tamagui/use-constant

Package Overview
Dependencies
Maintainers
1
Versions
919
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/use-constant - npm Package Compare versions

Comparing version 1.113.1 to 1.113.2

13

dist/esm/index.native.js
import * as React from "react";
function useConstant(fn) {
if (typeof document > "u") return React.useMemo(function () {
return fn();
}, []);
if (typeof document > "u")
return React.useMemo(function() {
return fn();
}, []);
var ref = React.useRef();

@@ -11,3 +12,5 @@ return ref.current || (ref.current = {

}
export { useConstant };
//# sourceMappingURL=index.native.js.map
export {
useConstant
};
//# sourceMappingURL=index.js.map
{
"name": "@tamagui/use-constant",
"version": "1.113.1",
"version": "1.113.2",
"types": "./types/index.d.ts",

@@ -31,3 +31,3 @@ "main": "dist/cjs",

"devDependencies": {
"@tamagui/build": "1.113.1",
"@tamagui/build": "1.113.2",
"react": "^18.2.0 || ^19.0.0"

@@ -34,0 +34,0 @@ },

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