question-mark
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.

Getting warning on render

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
olefrankcommented, May 22, 2017

What’s the status on this? I don’t see the change in master yet…?

1reaction
ibcLeecommented, Apr 20, 2017

me too

Read more comments on GitHub >

github_iconTop 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 >

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found