# react/no-is-mounted 📝 Disallow usage of isMounted. 💼 This rule is enabled in the ☑️ `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs). [`isMounted` is an anti-pattern][anti-pattern], is not available when using ES6 classes, and it is on its way to being officially deprecated. [anti-pattern]: https://legacy.reactjs.org/blog/2015/12/16/ismounted-antipattern.html ## Rule Details Examples of **incorrect** code for this rule: ```jsx var Hello = createReactClass({ handleClick: function() { setTimeout(function() { if (this.isMounted()) { return; } }); }, render: function() { return