Closed ndrean closed 2 years ago
The package preact-compat
is for Preact versions <=8.x
, it is not needed for the 10.x
release line. From the warning description it looks like you're using a newer version of Preact. To resolve these warnings uninstall preact-compat
.
Yes, thank you, yarn add @preact/compat preact
and resolve.alias
to preact/compat
and this works with no change in the React code.
I always this warning:
I don't know if this is important or not.