JSFiddle - React, Tailwind, and code Playground by Esteban Herrera August 07, 2017 JavaScript componentWillUnmount() { this.subs.forEach(sub => sub.unsubscribe()); }