# Warning: findDOMNode is deprecated and will be removed in the next major release.

**Code:** `findDOMNode deprecated` · **Category:** React · **Seen on:** React

A component (often an old library like react-transition-group v1, react-draggable) uses findDOMNode, which StrictMode flags and React 19 removes.

## Meaning

findDOMNode breaks component abstraction. Libraries offering a nodeRef prop avoid it.

## Common causes

- Old libraries using findDOMNode
- Class components using findDOMNode

## Quick fix

1. Upgrade the library
2. Pass nodeRef where supported (react-transition-group, react-draggable)
3. Use refs directly

## Detailed fix by platform

### React

1. `<CSSTransition nodeRef={nodeRef} in={show} timeout={200}><div ref={nodeRef} /></CSSTransition>`

## How to diagnose

1. **Library** — Which component in the stack?
2. **Recent change** — Did it start after a deploy, upgrade, or configuration change? Compare with the last working version.

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/react/finddomnode-is-deprecated)
