prateekbh / preact-async-route

Async route component for preact-router
MIT License
138 stars 14 forks source link

preact-async-route does not play well with preact-router + preact-transition-group #12

Open fantasia949 opened 6 years ago

fantasia949 commented 6 years ago

This fiddle is to reproduce the issue. When trying it, you will notice the async route's transition class is not removed properly.

This link references to this issue.

austinjp commented 5 years ago

Hi there. Is there any news on this? After a day of scratching my head over preact router transitions, I noticed this behaviour, and some Googling led me here. :smiley:

prateekbh commented 5 years ago

Hi! sadly no, I haven't been able to get to work on this. And due to the nature of how AsyncRoute is implemented, it'll might be tough to tell the wrapper which component is to be transitioned

austinjp commented 5 years ago

Thanks @prateekbh . I'm having a look at your liquid-route and transition-challenge for inspiration instead.