Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoDidUpdateSetStateRule rule.Rule = reactutil.MakeNoMethodSetStateRule(reactutil.NoMethodSetStateConfig{ RuleName: "react/no-did-update-set-state", MethodName: "componentDidUpdate", ShouldBeNoop: reactutil.MethodNoopAtReactVersion(16, 3, 0), })
NoDidUpdateSetStateRule is a thin wrapper around upstream's `makeNoMethodSetStateRule('componentDidUpdate')` factory.
`componentDidUpdate` is in upstream's `methodNoopsAsOf` map (>= 16.3.0), so the rule becomes a no-op when the user explicitly pins React in [16.3.0, 999.999.999). No `UNSAFE_` alias is checked — upstream calls the factory without a `shouldCheckUnsafeCb`.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.