Amplify-js: aws-amplify/ui-react - Warning: findDOMNode is deprecated in StrictMode

Created on 24 Apr 2020  路  1Comment  路  Source: aws-amplify/amplify-js

Describe the bug

using withAuthenticator yields error (chrome and firefox):

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of
AmplifyAuthenticator which is inside StrictMode. Instead, add a ref directly to the element you
want to reference. Learn more about using refs safely
here: https://fb.me/react-strict-mode-find-node
Amplify UI Components

Most helpful comment

This is fixed here: https://github.com/ionic-team/stencil-ds-plugins/commit/e3cd7091d80f6258c6ae20fe6b551d781e80dad9

Just need to bump the binding lib version. Looking at getting this into our core library now. Will post an update when it is ready

>All comments

This is fixed here: https://github.com/ionic-team/stencil-ds-plugins/commit/e3cd7091d80f6258c6ae20fe6b551d781e80dad9

Just need to bump the binding lib version. Looking at getting this into our core library now. Will post an update when it is ready

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cosmosof picture cosmosof  路  3Comments

leantide picture leantide  路  3Comments

epicfaace picture epicfaace  路  3Comments

ldgarcia picture ldgarcia  路  3Comments

guanzo picture guanzo  路  3Comments