Legacy Context API / findDomNode usage
See original GitHub issuePrerequisites
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:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the next major update, please develop with React strict mode.
Hello again, @Wintereise ,
You can get the right repo link from our website (from the comments section on the product page), or from our live docs.