Skip to content

Commit

Permalink
v0.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
porfirioribeiro committed Oct 30, 2018
1 parent bda7271 commit c9e735f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 0 additions & 7 deletions src/Subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ export class Subscribe extends Component<SubscribeProps, SubscribeState> {
!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;
Expand Down

0 comments on commit c9e735f

Please sign in to comment.