Azure / communication-ui-library

UI Library for Azure Communication Services helps developers build communication applications with ease. From turn-key composites to UI components that can be composited together.
https://aka.ms/acsstorybook
MIT License
171 stars 72 forks source link

findDOMNode is deprecated in StrictMode #1828

Closed juaram2 closed 2 years ago

juaram2 commented 2 years ago

Describe the bug; what happened?

console error: findDOMNode is deprecated in StrictMode

What are the steps to reproduce the issue? createAdapter

What behavior did you expect? I don't want to delete Strict mode No console error

If applicable, provide screenshots: image

In what environment did you see the issue?

Is there any additional information? nextConfig setting reactStrictMode: true I want to keep reactStrictMode : true

carocao-msft commented 2 years ago

Hi, this is a known issue from Fluent UI https://github.com/microsoft/fluentui/issues/19286, unfortunately there is nothing we can do on our end. A large fix is needed from Fluent UI react-northstar to resolve this warning. Let me know if there is anything else I can help with. Thanks for raising this issue! :)

mgamis-msft commented 2 years ago

This issue has become stale. This can only be fixed in Fluent UI react-northstar or if we move out of using Fluent UI react-northstar in our MessageThread component which not in our plans right now. If others feel strongly about this issue we can re-open it.