📄 no-did-update-set-state.js
/home/palash/git/site/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js
Language: js • Lines: 11
/**
 * @fileoverview Prevent usage of setState in componentDidUpdate
 * @author Yannick Croissant
 */

'use strict';

const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule');

/** @type {import('eslint').Rule.RuleModule} */
module.exports = makeNoMethodSetStateRule('componentDidUpdate');