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:
Running route('/?param=x') will work successfully. ✅
Running route('/non-async-route') will work successfully. ✅
Running route('/async-route') will update the address bar url but not the UI. 🚫
Hello,
I've been using
preact-async-route@2.0.1
successfully for a while now, but ever since updating to2.0.2
,preact-router@2.6.0
'sroute()
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:
route('/?param=x')
will work successfully. ✅route('/non-async-route')
will work successfully. ✅route('/async-route')
will update the address bar url but not the UI. 🚫