init source
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* @fileoverview Prevent usage of setState in componentDidMount
|
||||
* @author Yannick Croissant
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule');
|
||||
|
||||
module.exports = makeNoMethodSetStateRule('componentDidMount');
|
||||
Reference in New Issue
Block a user