Getting warning on render
See original GitHub issueWhen the library is rendered I’m getting:
Warning: getInitialState was defined on t, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Getting act warning when testing loading render with newest ...
The way I circumvented / got rid of the warning was by waiting for the async content to be populated before each test....
Read more >React warning render() - Stack Overflow
I ran into this issue rendering markup server-side. If you have something like this (ejs example): <div id="app"> <%- markup %> </div>.
Read more >Fix the "not wrapped in act(...)" warning when testing Custom ...
[0:15] To test this, we're using React hooks testing library and we're using the renderHook function from that. Then with renderHook, we have...
Read more >ReactDOM.render no longer supported in React 18
An alternative solution to get rid of the warning is to revert your versions of the react and react-dom packages to an older...
Read more >DaVinci Resolve 17: How to Fix Rendering Warning Message
How to fix the warning message: Are you sure you want to add to render queue at a resolution larger than your timeline...
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 Free
Top 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
What’s the status on this? I don’t see the change in master yet…?
me too