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
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
@mlaursen suspects that findDOMNode may also cause the incompatibility with react-md. I've made sure preact-compat is at 3.18.4 in my reproduction repo (linked above), but I still see the issue.
function findDOMNode() { return e && e.base || null }
but in react-dom
function findDOMNode(componentOrElement) { // ... if (componentOrElement == null) { return null; } if (componentOrElement.nodeType === 1) { return componentOrElement; } // ...
so when I use findDOMNode(element),react-dom return element,but preact return null. This cause react-slick make a mistake.
The text was updated successfully, but these errors were encountered: