Sha256: 5c9e3cbb1b079002bf9e007cf54554cfd3dfa34298d50603a6966aa96be2ad8e
Contents?: true
Size: 377 Bytes
Versions: 43
Compression:
Stored size: 377 Bytes
Contents
/** * @fileoverview Prevent usage of setState in componentWillUpdate * @author Yannick Croissant */ 'use strict'; const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule'); const versionUtil = require('../util/version'); module.exports = makeNoMethodSetStateRule( 'componentWillUpdate', context => versionUtil.testReactVersion(context, '16.3.0') );
Version data entries
43 entries across 43 versions & 1 rubygems