Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findDOMNode is deprecated in StrictMode. #217

Open
subin-jm opened this issue Oct 1, 2020 · 0 comments
Open

findDOMNode is deprecated in StrictMode. #217

subin-jm opened this issue Oct 1, 2020 · 0 comments

Comments

@subin-jm
Copy link

subin-jm commented Oct 1, 2020

I am getting this warning "Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of t which is inside StrictMode. Instead, add a ref directly to the element you want to reference"

my code is given below

"<div>
  <DropzoneComponent
            config={this.componentConfig}
            eventHandlers={eventHandlers}
            djsConfig={this.djsConfig}
          >
            <div className="AddFiles_Image">
              <div className="dz-default dz-message">
                <p>Drop files here to upload</p>
              </div>
            </div>
          </DropzoneComponent>
          <div className="AddFiles_Btn">
            <button>Done</button>
          </div>
        </div>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant