this.base gets recycled while component is mounted?
See original GitHub issueHey,
this.base gets recycled and reused somewhere else while the a component is mounted, this breaks things for me as I bind events to this.base
this only happens in beta11 not beta10 probably due to 8790b2de4fbd38eb3277cbfc7e609f5332ebbc4d
I could bind my events in some other way but don’t see a good way to do it except this.base.addEventLister
/this.base.removeEventListener
thanks for any help
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Circuit Board Recycling - Build Electronic Circuits
For the uninitiated, a printed circuit board is the board base for physically supporting and wiring the surface-mounted and socketed components ...
Read more >Beneficial Use Clean Fill Protocol and Recycled Materials ...
Only uncontaminated concrete will normally qualify for unrestricted recycling, while some minimally contaminated concrete or concrete fines may qualify for ...
Read more >The Big Problem With Plastic - Consumer Reports
The truth is that only a fraction of plastic is actually recycled. ... does only a fraction of the plastic we toss actually...
Read more >Lithium-Ion Battery Recycling Influence of ... - ACS Publications
Recycling is a potential solution to narrow the gap between the supply and demand of raw materials for lithium-ion batteries (LIBs).
Read more >Recycling of Polymer-Based Multilayer Packaging: A Review
This section is dedicated to methods that enable the separation of the different components in a multilayer packaging. A distinction is made between...
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
🔨 Found the proper fix! My repro was a
<Router />
wrapping multiple instances of<Preview />
, and re-rendering the<Preview />
with different props was incorrectly unmounting Router:Great to hear that! If you need additional testing I can run it on my code as well, have one scenario it repros every time.
Though it is very weird as it is a component I use on pretty much on every page and all other seem to be just fine
The only thing I could think of is I am using 2 copies on this page nested with a bunch of components in between