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

@tamagui/use-controllable-state

Package Overview
Dependencies
Maintainers
1
Versions
1124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/use-controllable-state - npm Package Compare versions

Comparing version 1.0.1-beta.75 to 1.0.1-beta.76

2

dist/esm/useControllableState.js

@@ -11,3 +11,3 @@ import { useCallbackRef } from "@radix-ui/react-use-callback-ref";

const handleChange = useCallbackRef(onChange);
const [val, setVal] = useState(prop != null ? prop : defaultProp);
const [val, setVal] = useState(prop ?? defaultProp);
const propWins = strategy === "prop-wins";

@@ -14,0 +14,0 @@ useEffect(() => {

{
"name": "@tamagui/use-controllable-state",
"version": "1.0.1-beta.75",
"version": "1.0.1-beta.76",
"sideEffects": false,

@@ -29,3 +29,3 @@ "source": "src/index.ts",

"devDependencies": {
"@tamagui/build": "^1.0.1-beta.75",
"@tamagui/build": "^1.0.1-beta.76",
"react": "*",

@@ -32,0 +32,0 @@ "react-dom": "*"

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