extended-components
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -269,2 +269,3 @@ 'use strict'; | ||
if (!EnhancedComponent.stateDefinition) { | ||
// eslint-disable-next-line no-console | ||
console.error('Static getDerivedStateFromProps called, but no state defined.'); | ||
@@ -271,0 +272,0 @@ return null; |
@@ -263,2 +263,3 @@ import React from 'react'; | ||
if (!EnhancedComponent.stateDefinition) { | ||
// eslint-disable-next-line no-console | ||
console.error('Static getDerivedStateFromProps called, but no state defined.'); | ||
@@ -265,0 +266,0 @@ return null; |
@@ -672,2 +672,3 @@ (function (global, factory) { | ||
if (!EnhancedComponent.stateDefinition) { | ||
// eslint-disable-next-line no-console | ||
console.error('Static getDerivedStateFromProps called, but no state defined.'); | ||
@@ -674,0 +675,0 @@ return null; |
{ | ||
"name": "extended-components", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Extend functional React.js components with default props, advanced local state (presets for common use cases like toggle, counter, ...) and lifecycle hooks.", | ||
@@ -5,0 +5,0 @@ "author": "Markus Wetzel <markuswetzel@gmx.net>", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69224
1304
0