source: frontend/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 310 bytes
Line 
1/**
2 * @fileoverview Prevent usage of setState in componentDidUpdate
3 * @author Yannick Croissant
4 */
5
6'use strict';
7
8const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule');
9
10/** @type {import('eslint').Rule.RuleModule} */
11module.exports = makeNoMethodSetStateRule('componentDidUpdate');
Note: See TracBrowser for help on using the repository browser.