@startup-booster/move-mobx
Advanced tools
Comparing version 0.1.13 to 0.1.14
const { observable } = require('mobx'); | ||
const { connect: baseConnect } = require('@startup-booster/move'); | ||
const { useEffect, useMemo, useState, createContext, useContext, createElement } = require('react'); | ||
const debounce = require('lodash.debounce'); | ||
@@ -13,2 +14,4 @@ /** @type {function(string): MoveMobxClient} */ | ||
const set = debounce((path, newValue) => connection.set(path, newValue), 500); | ||
connection.ref = (path, { defaultValue = undefined, previewSet = true } = {}) => { | ||
@@ -27,3 +30,3 @@ let box = observable({ value: defaultValue }); | ||
} | ||
connection.set(path, newValue); | ||
set(path, newValue); | ||
}, | ||
@@ -30,0 +33,0 @@ }; |
{ | ||
"name": "@startup-booster/move-mobx", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"main": "move-mobx.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@startup-booster/move": "0.1.13" | ||
"@startup-booster/move": "0.1.14" | ||
}, | ||
@@ -9,0 +9,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4710
144
+ Added@startup-booster/move@0.1.14(transitive)
- Removed@startup-booster/move@0.1.13(transitive)
Updated@startup-booster/move@0.1.14