-
Notifications
You must be signed in to change notification settings - Fork 65
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
Template don't rerender when id change #65
Comments
It's weird. Try to get the params and queryParams from the action.
|
That part works fine, and the logs log different query params as excepted; but this doesn't trigger a template rerender. |
@gsabran did you try this
|
@arunoda I have a similar issue. My templates are not firing onCreated when navigating between routes with different parameters. None of the 'fixes' from this thread, #21, or #72 work. Only thing that I have got to work is calling BlazeLayout.reset() on each route change which is terrible. Any help would be appreciated. |
Hmmm... |
@MichaelJCole in my case it reloads the complete site which is really ugly. Is there still no solution to force a route change on the same layout after over two years? |
Also ran into that problem. Same route, different params, no reaction. |
It seems that template don't re render when the id change. For instance if my route looks like this:
and I go from
/u/id1
to/u/id2
, I get a log as excepted, but the template is not re created. Is that by design ofBlazeLayout
? It would be nice to have an option to recreate the template, especially when doing template level subscriptions that should be closed when the id change.The text was updated successfully, but these errors were encountered: