Socket
Socket
Sign inDemoInstall

@rooks/use-mutation-observer

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rooks/use-mutation-observer - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

4

package.json

@@ -37,3 +37,3 @@ {

},
"version": "0.1.7",
"version": "0.1.8",
"_id": "@rooks/use-mutation-observer@",

@@ -44,3 +44,3 @@ "readme": "ERROR: No README data found!",

},
"gitHead": "00a8074232ffc25bb7da8c6592b5d2d2edad3013"
"gitHead": "edc0238c77fe5d4a04a658c775aaf3c8893b80f1"
}

@@ -68,2 +68,10 @@ # @rooks/use-mutation-observer

### Arguments
| Argument | Type | Description | Default value |
| -------- | --------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| ref | React ref | Ref which should be observed for Mutations | undefined |
| callback | function | Function which should be invoked on mutation. It is called with the `mutationList` and `observer` | undefined |
| config | object | Mutation Observer configuration | {attributes: true,,characterData: true,,subtree: true,,childList: true} |
Mutation Observer hook for React
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