Rendered nodes order changing unexpectedly
See original GitHub issueHi,
I’m seeing a weird behavior with conditional rendering and preact-redux
’s connect
.
Here is a jsfiddle to reproduce : https://jsfiddle.net/dhar/985cr5ct/5/
Clicking the toggle button hides First!
and when clicking it again, it appears back after Second
.
As discussed with @developit on slack, this will most likely be fixed in Preact 8. This issue so we don’t forget to test it when the beta is out.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Node.js major version surprisingly changed overnight from ...
A deploy for one of my services started failing unexpectedly today because its Node. js major version was suddenly upgraded from v16 to...
Read more >4 Common render problems in Blender and how to solve them
There are many potential problems when it comes to rendering. Here, we cover a few of the common ones that I have come...
Read more >How to randomly re-render the DOM nodes' order of ...
I'm trying to shuffle cards by reordering the index of the nodes in my NodeList . How can I achieve removing and appending...
Read more >How to identify and resolve wasted renders in React
This means it is being re-rendered by React together with the input. This is what we are calling a “wasted” render. We know...
Read more >Reparenting a node from a CanvasLayer to a CanvasItem ...
Reparenting a node from a CanvasLayer to a CanvasItem derived node while also having another CanvasItem derived node as a sibling causes unexpected...
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
Fixed in 8.
I’m thinking the cleanup and publish will happen today. It’s been a constant fight for time the last couple weeks as I’ve been busy with release stuff for my job. Just means the size will be 3400b instead of 2999b 😱😭