You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been having some issues using this with the latest Preact; I was getting similar warnings on 7.x but now it's flat-out not working.
At the risk of providing a red-herring: I have a branch of my project that uses preact-router instead of react-router, and it seems to work just fine there? Not sure what gives...
The text was updated successfully, but these errors were encountered:
rubencodes
changed the title
Issues with Preact@8.x
Cannot read property 'parentElement' of undefined - Errors with Preact@8.x
Apr 18, 2017
The preact-router swap is an interesting data point. Maybe something is being removed immediately after state is being mutated on it?
If this.container is a ref, perhaps in prior versions of preact were re-calling the ref with a different element from a new route, and that is no longer happening in 8? If so, we could just change the ref handling to ignore null values:
I've been having some issues using this with the latest Preact; I was getting similar warnings on 7.x but now it's flat-out not working.
At the risk of providing a red-herring: I have a branch of my project that uses preact-router instead of react-router, and it seems to work just fine there? Not sure what gives...
The text was updated successfully, but these errors were encountered: