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
We're using a library that extends PureComponent, and calls super() with both props and context but the preact version does not support context. Updating to the latest Preact version does not resolve the issue.
Issue brought over from here.
We're using a library that extends PureComponent, and calls
super()
with bothprops
andcontext
but the preact version does not supportcontext
. Updating to the latest Preact version does not resolve the issue.This is the problematic component:
https://github.com/preactjs/preact/blob/main/compat/src/PureComponent.js
Here is the implementation from React:
https://github.com/facebook/react/blob/v16.14.0/packages/react/src/ReactBaseClasses.js#L129
No need for demos or repro repos, should be obvious in the source.
Is this something that you guys can fix? Or is it intentionally left out?
The text was updated successfully, but these errors were encountered: