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

reshow-return

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-return - npm Package Compare versions

Comparing version 0.17.20 to 0.17.21

14

build/cjs/src/useParticalRender.js

@@ -16,4 +16,6 @@ "use strict";

var useParticalRender = function useParticalRender(component, initRenderKeys, compProps) {
var _useReduceStore = (0, _reshowFlux.useReduceStore)(),
var useParticalRender = function useParticalRender(initRenderKeys, initChildren) {
var _useReduceStore = (0, _reshowFlux.useReduceStore)(null, function () {
return (0, _reshowFlux.Map)(initChildren);
}),
renderStore = _useReduceStore[0],

@@ -28,7 +30,7 @@ setParticalRender = _useReduceStore[1];

var renderComponent = (0, _react.useMemo)(function () {
var renderItems = (0, _react.useMemo)(function () {
var buildReturn = (0, _reshowBuild["default"])((0, _reshowBuild["default"])(_reshowReturn["default"])({
store: renderStore
}));
return (0, _reshowBuild["default"])(component)(compProps, (renderKeys || []).map(function (name) {
return (renderKeys || []).map(function (name) {
return buildReturn({

@@ -41,5 +43,5 @@ key: name,

});
}));
});
}, [renderKeys]);
return [renderComponent, setRenderKeys, setParticalRender];
return [renderItems, setRenderKeys, setParticalRender];
};

@@ -46,0 +48,0 @@

{
"version": "0.17.20",
"version": "0.17.21",
"name": "reshow-return",

@@ -4,0 +4,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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