prateekbh / preact-async-route

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

Preact-Router not playing well with 2.0.2 update #14

Closed rubencodes closed 6 years ago

rubencodes commented 6 years ago

Hello,

I've been using preact-async-route@2.0.1 successfully for a while now, but ever since updating to 2.0.2, preact-router@2.6.0's route() function seems to not work between <AsyncRoute /> pages (url will change in address bar, but UI will not change). I can reproduce this simply by switching between 2.0.1 and 2.0.2.

For example, if I am currently on the '/' page:

NekR commented 6 years ago

I see the same issue.

prateekbh commented 6 years ago

cool, will take a look

prateekbh commented 6 years ago

opened suggestions at #9, feel free to jump

studentIvan commented 6 years ago

👍 +1 for this problem

prateekbh commented 6 years ago

@studentIvan @NekR @rubencodes i have updated to 2.1.0 with the implementation in #9 PTAL