@cicada/render
Advanced tools
Comparing version 1.0.0-alpha6 to 1.0.0-alpha7
@@ -312,5 +312,7 @@ 'use strict'; | ||
key: 'componentWillReceiveProps', | ||
value: function componentWillReceiveProps() { | ||
value: function componentWillReceiveProps(nextProps) { | ||
// 不接受 config 动态变化 | ||
throw new Error('connected component received new props, statePath: ' + this.getResolvedStatePath()); | ||
/* eslint-disable no-console */ | ||
console.warn('connected component should never received new props, statePath: ' + this.getResolvedStatePath(), this.props, nextProps); | ||
/* eslint-enable no-console */ | ||
} | ||
@@ -436,3 +438,2 @@ }, { | ||
// TODO 考虑 Row.Col 的问题, identifier 没有 bind 的问题 | ||
(0, _assign2.default)(Wrapper, (0, _util.mapValues)(identifiers, createIdentifierComponent)); | ||
@@ -439,0 +440,0 @@ return Wrapper; |
{ | ||
"name": "@cicada/render", | ||
"version": "1.0.0-alpha6", | ||
"version": "1.0.0-alpha7", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
311499
7512