react-diode
Advanced tools
Comparing version 0.5.24 to 0.5.25
@@ -1277,15 +1277,5 @@ 'use strict'; | ||
var componentName = Component.displayName || Component.name; | ||
var containerName = "Diode(".concat(componentName, ")"); | ||
var query = new DiodeContainerQuery(componentName, spec.queries, spec.children); | ||
var Container; | ||
var ContainerConstructor = createContainerComponent(Component, spec, query); | ||
function ContainerConstructor(props) { | ||
/* istanbul ignore else */ | ||
if (!Container) { | ||
Container = createContainerComponent(Component, spec, query); | ||
} | ||
return new Container(props); | ||
} | ||
ContainerConstructor.setWrapperInfo = function setWrapperInfo(wrapperInfo) { | ||
@@ -1312,3 +1302,2 @@ objectAssign(spec.wrapperInfo, wrapperInfo); | ||
ContainerConstructor.query = deepExtend(query, Component.query); | ||
ContainerConstructor.displayName = containerName; | ||
ContainerConstructor.componentName = componentName; | ||
@@ -1315,0 +1304,0 @@ return hoistStatics(ContainerConstructor, Component, { |
{ | ||
"name": "react-diode", | ||
"version": "0.5.24", | ||
"version": "0.5.25", | ||
"description": "Endpoint agnostic, unidirectional data fetching for React applications", | ||
@@ -5,0 +5,0 @@ "source": "src/DiodePublic.js", |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
375325
15
1344
4