Skip to content

Commit

Permalink
remove redundant space at comment (reduxjs#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisx authored and timdorr committed Aug 24, 2018
1 parent ec0c5b6 commit af31abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/connectAdvanced.js
Expand Up @@ -202,7 +202,7 @@ export default function connectAdvanced(
const parentSub = (this.propsMode ? this.props : this.context)[subscriptionKey]
this.subscription = new Subscription(this.store, parentSub, this.onStateChange.bind(this))

// `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
// `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
// the middle of the notification loop, where `this.subscription` will then be null. An
// extra null check every change can be avoided by copying the method onto `this` and then
// replacing it with a no-op on unmount. This can probably be avoided if Subscription's
Expand Down

0 comments on commit af31abe

Please sign in to comment.