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

use-state-in-custom-properties

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-state-in-custom-properties - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

index.js

@@ -71,3 +71,3 @@ "use strict";

var useStyleSync = function useStyleSync(name, val) {
useEffect(function () {
(0, _react.useEffect)(function () {
if (styles[name] !== val) {

@@ -74,0 +74,0 @@ setStyle(name, val);

{
"name": "use-state-in-custom-properties",
"version": "1.0.7",
"version": "1.0.8",
"description": "Makes your react state accessible through CSS properties.",

@@ -5,0 +5,0 @@ "main": "index.js",

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