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
Describe the feature you'd love to see
Some libraries use react-is to check types of react element.
Will @preact/compat support react-is? Additional context (optional) https://www.npmjs.com/package/react-is
// for example
import { isMemo, isFragment } from 'react-is'
The text was updated successfully, but these errors were encountered:
It's very unlikely that we'll ever support react-is. It relies on very react specific internals that no other third party library needs. If there is a need for something like react-is we'd rather add another entry to our package so that react-is can be aliased to that.
So far we haven't come across libraries checking for the type of react element. Can you share the ones you found?
Describe the feature you'd love to see
Some libraries use
react-is
to check types of react element.Will
@preact/compat
supportreact-is
?Additional context (optional)
https://www.npmjs.com/package/react-is
The text was updated successfully, but these errors were encountered: