On subroute path/url change, whole tree reloads?
Is this a correct behaviour?
while I am on the route
/product/<product_category/<product_Id> and just the product id changes, all of the load property on the new Route() setup is retriggered.
That means when the product_id changes, /product/<product_category> retriggers its actions in the load function. The same for /product, the load function is triggered as well here, even tho the <product_id> has changed.
That causes a lot of unnecessary re-renders.0 Replies