igorkamyshev / farfetched

The advanced data fetching tool for web applications
https://ff.effector.dev
MIT License
190 stars 34 forks source link

Chained route can be opened after the parent route has been closed #487

Open evist0 opened 4 months ago

evist0 commented 4 months ago

Description

When using the @farfetched/atomic-router chain integration, the chained route can be opened after the parent route has been closed.

Reproduce

Codesandbox

Actual result:

[Analytics] — Third is opened is logged after the Third->Second transition, but not after the subsequent Second->Third transition.

Expected result:

[Analytics] — Third is opened is not logged after the Third->Second transition but is logged after the Second->Third transition.