diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -47,6 +47,7 @@ export function compose(fn, L1, E1, options = {pure: true}) {
       }
 
       componentWillUnmount() {
+        this._mounted = false;
         this._unsubscribe();
       }
Prevent setState on unmounting/unmounted components

 this._mounted was never set to false