I have a route where model is bound to a query param (in my case a category_id). As I change the underlying category model within this route, elsewhere fails to send fresh data (category.title in this case) to the underlying component navbar-title, and the content remains stale. The data does update in the next render, but with the previous model's state instead of the current.
Updates in the next render with last model's data
{{to-elsewhere named='nav-title' send=(component 'navbar-title' title=category.title}}
Updates immediately with current data
{{log category.title}}
I have a route where model is bound to a query param (in my case a
category_id). As I change the underlying category model within this route, elsewhere fails to send fresh data (category.titlein this case) to the underlying componentnavbar-title, and the content remains stale. The data does update in the next render, but with the previous model's state instead of the current.Updates in the next render with last model's data
{{to-elsewhere named='nav-title' send=(component 'navbar-title' title=category.title}}Updates immediately with current data
{{log category.title}}