FirstChild(...): No `render` method found on the returned component instance
See original GitHub issueFirstChild(…): No render
method found on the returned component instance: you may have forgotten to define render
, returned null/false from a stateless component, or tried to render an element whose type is a function that isn’t a React component.
I gave it a try, Issue is in the \react-images\lib\Fade.js 33 line to return empty.Want to be able to repair
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
React ES6: you may have forgotten to define `render`
No `render` method found on the returned component instance: you may have forgotten to define `render`. Uncaught TypeError: inst.render is not a function....
Read more >[Solved]-React ES6: you may have forgotten to define `render`
Coding example for the question React ES6: you may have forgotten to define ... No `render` method found on the returned component instance:...
Read more >API | Testing Library
Tip: To get the root element of your rendered element, use container. firstChild . NOTE: When that root element is a React Fragment,...
Read more >Node.firstChild - Web APIs - MDN Web Docs
The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no...
Read more >Implementation Notes - React
It is located at src/renderers/shared/stack/reconciler. ... Either way, the reconciler will learn the element App “rendered to”. This process is recursive.
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
@ArturAmbartsumov in \node_modules\react-images\lib\Portal.js 33 line Replace return kids[0] || null; with return kids[0] || _react.createElement(‘div’,null); please take a chance.
Fixed by 591761f