From c9e735f8b788868e45cbc49ddfe810953705ff09 Mon Sep 17 00:00:00 2001 From: Porfirio Ribeiro Date: Tue, 30 Oct 2018 15:36:50 +0000 Subject: [PATCH] v0.0.29 --- package.json | 2 +- src/Subscribe.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/package.json b/package.json index 4b657d4..3bdc80f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-service", - "version": "0.0.28", + "version": "0.0.29", "description": "React Context Services", "main": "dist/index.js", "module": "dist/index.m.js", diff --git a/src/Subscribe.ts b/src/Subscribe.ts index 3cd24af..5a825f9 100644 --- a/src/Subscribe.ts +++ b/src/Subscribe.ts @@ -70,13 +70,6 @@ export class Subscribe extends Component { !this.props.to || this.props.to.length !== nextProps.to.length || nextProps.to.some((s, i) => s !== this.props.to[i]); - console.log( - 'scu', - nextProps.pure && shallowEqual(this.props.pureProp, nextProps.pureProp) - ? this.needsUpdate || nextState !== this.state - : true - ); - return nextProps.pure && shallowEqual(this.props.pureProp, nextProps.pureProp) ? this.needsUpdate || nextState !== this.state : true;