deprecation warning

A message logged to the developer console when code uses a deprecated prop or component, pointing to the replacement.

In more detail

Warnings should appear only in development, guarded by NODE_ENV, and only once per prop, tracked in a Set, so they do not flood the console on every re-render. A good message names the deprecated prop, the replacement and the version in which it will be removed.

Related terms

Taught in

References