@appbaseio/reactivecore
Advanced tools
Comparing version 9.14.35 to 9.14.36
@@ -1,1 +0,1 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});exports.addComponent=addComponent;exports.removeComponent=removeComponent;exports.watchComponent=watchComponent;var _constants=require('../constants');var _query=require('./query');function addComponentToList(component){return{type:_constants.ADD_COMPONENT,component:component};}function addComponentTimestamp(component,timestamp){return{type:_constants.SET_REGISTERED_COMPONENT_TIMESTAMP,component:component,timestamp:timestamp};}function addComponent(component){return function(dispatch){dispatch(addComponentToList(component));dispatch(addComponentTimestamp(component,new Date().getTime()));};}function removeComponent(component){return{type:_constants.REMOVE_COMPONENT,component:component};}function updateWatchman(component,react){return{type:_constants.WATCH_COMPONENT,component:component,react:react};}function watchComponent(component,react){var execute=arguments.length>2&&arguments[2]!==undefined?arguments[2]:true;return function(dispatch){dispatch(updateWatchman(component,react));if(execute)dispatch((0,_query.executeQuery)(component));};} | ||
Object.defineProperty(exports,"__esModule",{value:true});exports.addComponent=addComponent;exports.removeComponent=removeComponent;exports.watchComponent=watchComponent;var _constants=require('../constants');var _query=require('./query');function addComponentToList(component){return{type:_constants.ADD_COMPONENT,component:component};}function addComponentTimestamp(component,timestamp){return{type:_constants.SET_REGISTERED_COMPONENT_TIMESTAMP,component:component,timestamp:timestamp};}function addComponent(component,timestamp){return function(dispatch){dispatch(addComponentToList(component));dispatch(addComponentTimestamp(component,timestamp));};}function removeComponent(component){return{type:_constants.REMOVE_COMPONENT,component:component};}function updateWatchman(component,react){return{type:_constants.WATCH_COMPONENT,component:component,react:react};}function watchComponent(component,react){var execute=arguments.length>2&&arguments[2]!==undefined?arguments[2]:true;return function(dispatch){dispatch(updateWatchman(component,react));if(execute)dispatch((0,_query.executeQuery)(component));};} |
{ | ||
"name": "@appbaseio/reactivecore", | ||
"version": "9.14.35", | ||
"version": "9.14.36", | ||
"description": "Core architecture of reactive UI libraries", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
212542