no_did_update_set_state

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL