Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Legacy Context API / findDomNode usage

See original GitHub issue


Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I’m reporting the issue to the correct repository (for multi-repository projects)

I’m a material dashboard react pro subscriber with current premium support.

The theme (thanks to material-ui 3.x usage) makes use of the legacy context API (which has been marked as deprecated) and findDomNode, both of which cause problems if one turns on React’s StrictMode and are marked for removal sometime in the future.

material-ui is going to be fixing these in their 4.x release, will this theme be seeing that update?

Relevant MUI issues.


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

crimsonvspurplecommented, May 3, 2019

In the next major update, please develop with React strict mode.

einazarecommented, May 3, 2019

Hello again, @Wintereise ,

That would be because I infact did not know that mdr had multiple repos. I googled it, found this repo, opened issues, found the other one afterwards ┐(´∀`)┌ヤレヤレ

You can get the right repo link from our website (from the comments section on the product page), or from our live docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strict Mode - React
StrictMode currently helps with: Identifying components with unsafe lifecycles; Warning about legacy string ref API usage; Warning about deprecated findDOMNode ...
Read more >
Using strict mode in React 18: A guide to its new behaviors
In this article, you'll learn about Strict Mode, its various features, and how the v18 release has improved its API.
Read more >
How to use React Strict Mode in React 18 - Refine Dev
Usage of legacy or deprecated APIs or methods like the string ref API and Context API, and findDOMNode. Unexpected side effects.
Read more >
findDOMNode is deprecated - javascript - Stack Overflow
The library is so old, and it's using React 15.6. At that time, findDOMNode was okay but after react 16 and a while,...
Read more >
React Strict Mode: Developer Tool To Detect Potential Issues
Identifying unsafe lifecycles · Warning about Legacy String Ref API usage · Warning about Deprecated findDOMNode usage · Detecting unexpected side ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found