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

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • 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.