lundi 8 mai 2023

Parent route's model gets fired when transition to child route in ember

Having parent route with dynamic segment and queryparam and child route with dynamic segment. From parent route tried to transition to child route, but parents model hook is also getting triggered again.

Example:

From Route: parent/:parent_id? Qp=sample To Route: Parent/:parent_id/child/:child_id? Qp=sample

Currently in "From Route" And trying to transition to "To Route". But parent's model hook getting called again.

I don't want the parent route to triggered again. Please help me how to solve this issue.




Aucun commentaire:

Enregistrer un commentaire