preactjs / preact-compat

ATTENTION: The React compatibility layer for Preact has moved to the main preact repo.
http://npm.im/preact-compat
MIT License
949 stars 148 forks source link

Issues using library that uses react-transition-group/Transition #518

Open miguelespinoza opened 5 years ago

miguelespinoza commented 5 years ago

I'm having compatibility issues with https://github.com/fkhadra/react-toastify which uses react-transition-group

Here's an example of what I'm trying to accomplish: https://codesandbox.io/s/jzp1p30j0y

Works fine with React equivalent: https://codesandbox.io/s/93w3z0p7y4

I've attempted to use this library (https://github.com/developit/preact-transition-group) as an alias but it's not compatible with v2 of react-transition-group

Thoughts if anyone has had issues with this before.