Doesn't render children in React 16.0
See original GitHub issueI have a component:
<Lazyload once height={200}><Child/></Lazyload>
This works in React 15.6.1, but not in React 16.0. The Child component’s ComponentWillMount lifecycle method isn’t being called. Neither is the render method.
I tried making once=false, still doesn’t work.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:22
Top Results From Across the Web
ReactJS is not rendering children
I don't understand why it is not rendering. In the bedg I contd see <banner> . tag inside of hero. How can I...
Read more >React v16.0 – React Blog
Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
Read more >Render Children in React Using Fragment or Array ...
It used to be that React components could only return a single element. If you have ever tried to return more than one...
Read more >React 16 client side render doesn't update DOM's style that ...
However the content inside div ("browser" or "server") got updated. Does this mean that only the "children" prop will be updated? Or we...
Read more >React Children And Iteration Methods
The most obvious and common prop that developers work with within React is the children prop. In the majority of cases, there is...
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
I will look into this.
If everybody is okay, then I’m going to merge #126 and publish a new minor version.