-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update page to 1.11.5 #75
base: master
Are you sure you want to change the base?
Conversation
@@ -633,7 +637,7 @@ Tinytest.add('Client - Router - base path - url generation', (test) => { | |||
|
|||
function setBasePath(path) { | |||
FlowRouter._initialized = false; | |||
FlowRouter._basePath = path; | |||
FlowRouter.basePath(path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jankapunkt Wouldn’t it be major changes?
Maybe we can change _basePath
to setter instead of function?
@jankapunkt do you want to try update |
@dr-dimitru does it make sense to continue this one, since Meteor3 upgrade is breaking anyway? |
@dr-dimitru also, it looks like page is abandoned and people look for a fork. |
@jankapunkt I'll jump on full rewrite sometimes soon, dropping all dependencies. We can close this one for now. Latest release works with meteor@3 as expected, right? |
@dr-dimitru it does not support Blaze 3, which is why I commented on #113 to include it |
NOTE: this is a work in progress PR attempting to fix #74 , since there are multiple issues to address. Not all issues may have been detected yet and regression needs to be tested as well.
Currently detected issues:
_basePath
is chained infinitelyThis isse is fixed by always transforming the path to a
/name
pattern. I am not 100% if thepage
package now won't accept other path variations as base anymore or has a bug or something._basePath
is stripped. afterinitialize
is calledThis is fixed by setting the
dispatch
option in thepage(options)
call tofalse
. This fixes theClient - Router - base path
tests. However, there is no regression-test added yet.We first need to find out, why the exit trigger is fired twice now, while before once