New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@simbathesailor/use-what-changed

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simbathesailor/use-what-changed - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "@simbathesailor/use-what-changed",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "simbathesailor",

@@ -23,3 +23,3 @@ # use-what-changed

I personally have been working on hooks for quite a long time. I use react hooks every day in my open source projects and also at work.
I have been working on hooks for quite a long time. I use react hooks every day in my open source projects and also at work.

@@ -80,3 +80,3 @@ Now, using useEffect, useCallback, useMemo have really helped me compose the logic well together. But when the dependency list gets long. When I say long , it can be any thing greater than 3 for me and can be more or less for others.

Note: This hook only logs in the development environment. It make use of standard process.env.NODE_ENV to decide.
Note: This hook only logs in the development environment. It make use of standard process.env.NODE_ENV to decide. Open devtools console tab to see the logs.

@@ -125,6 +125,11 @@ 1. When only dependency are passed as the single argument

A unique background color will be given to each effect preceding title text. It helps us in recognising the specific effect when debugging. A unique id is also given to help the debugging further.
A unique background color will be given to each title text. It helps us in recognising the specific effect when debugging. A unique id is also given to help the debugging further.
<p align="center"><img src="demoimages/multipleeffectandcolorcoding.png" width="500" align="center"></p>
## Demo link
![Demo link](https://6l8vp.csb.app/)
![Codesandbox link](https://codesandbox.io/s/fervent-shockley-6l8vp)
## Contributing

@@ -131,0 +136,0 @@

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