bug: Nested IonRouterOutlet prevents component unmount
See original GitHub issueBug Report
Ionic version:
5.0.1
Here is a repo with a minimal code to reproduce the bug: https://github.com/OoDeLally/ionic-nested-router-outlet-bug
Ionic info:
▶ ionic info
Ionic:
Ionic CLI : 5.4.16 (/home/pascal/.nvm/versions/node/v8.16.0/lib/node_modules/ionic)
Ionic Framework : @ionic/react 5.0.1
Utility:
cordova-res : not installed
native-run (update available: 0.3.0) : 0.2.9
System:
NodeJS : v8.16.0 (/home/pascal/.nvm/versions/node/v8.16.0/bin/node)
npm : 6.4.1
OS : Linux 4.15
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:28 (2 by maintainers)
Top Results From Across the Web
bug: Nested IonRouterOutlet prevents component unmount ...
It doesn't work for us. When using <Switch> , the parent component successfully unmounts, but it also unmounts when it should not (when...
Read more >useIonViewWillLeave and useIonViewDidLeave not triggering
This is necessary to prevent the IonRouterOutlets from fighting each other. Anyway, nested routes have several tricky points, so first I would ...
Read more >React Router v6 Nested Routes doesn't work - Stack Overflow
Nested Route components need an Outlet component to be rendered into. Apply either of the following: Have Information component render the ...
Read more >Can anyone help me fix this - If I'm going to a nested route ...
I'm seriously dissapointed how the documentation of routing is a few sections in Ionic's site. As for nesting IonRouterOutlets, I saw it several ......
Read more >@ionic/core | Yarn - Package Manager
Ionic is based on Web Components, which enables significant performance, usability, and feature improvements alongside support for popular web frameworks ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello all,
I’m looking into this now, hope to have something to report on soon.
Anybody? This is a huge blocker for me