Answer the question
In order to leave comments, you need to log in
How can I find out which module is causing the error?
warning.js:45Warning: React.findDOMNode is deprecated. Please use ReactDOM.findDOMNode from require('react-dom') instead.
Answer the question
In order to leave comments, you need to log in
How to find out?
Search the project for "React.findDOMNode", but I suspect it's somewhere in your topmost component. Or just search for "findDOMNode", because somewhere it can be connected like this: import React, {findDOMNode} from 'react'
a) npm install react-dom
b) wherever you use React.findDOMNode replace with findDOMNode, after importing in each file: import { findDOMNode } from 'react-dom'
The essence of the error is that the findDOMNode function has moved to a separate package, and you use it from the 'react' package.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question