no-did-update-set-state.js 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 /** * @fileoverview Prevent usage of setState in componentDidUpdate * @author Yannick Croissant */ 'use strict'; const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule'); module.exports = makeNoMethodSetStateRule('componentDidUpdate');