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

@domonda/react-plumb

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domonda/react-plumb - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.1](https://github.com/domonda/domonda-js/compare/@domonda/react-plumb@2.0.0...@domonda/react-plumb@2.0.1) (2019-10-08)
**Note:** Version bump only for package @domonda/react-plumb
# [2.0.0](https://github.com/domonda/domonda-js/compare/@domonda/react-plumb@1.2.1...@domonda/react-plumb@2.0.0) (2019-10-04)

@@ -8,0 +16,0 @@

2

package.json
{
"name": "@domonda/react-plumb",
"version": "2.0.0",
"version": "2.0.1",
"description": "Simple state management and utilities for React inspired by Observables.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -26,2 +26,4 @@ "use strict";

function usePlumbState(props = {}) {
// NOTE: plumb is either provided or not
// eslint-disable-next-line react-hooks/rules-of-hooks
const { plumb = PlumbContext_1.usePlumbContext(), stateIsEqual } = props;

@@ -62,2 +64,4 @@ // we prefer using ref + forceUpdate to guarantee latest value delivery

function useMappedPlumbState(props) {
// NOTE: plumb is either provided or not
// eslint-disable-next-line react-hooks/rules-of-hooks
const { plumb = PlumbContext_1.usePlumbContext(), mapper, stateIsEqual } = props;

@@ -64,0 +68,0 @@ // we prefer using ref + forceUpdate to guarantee latest value delivery

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