question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Nested IonRouterOutlet prevents component unmount

See original GitHub issue

Bug 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:open
  • Created 4 years ago
  • Reactions:8
  • Comments:28 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
elylucascommented, Apr 14, 2020

Hello all,

I’m looking into this now, hope to have something to report on soon.

10reactions
und3f1nedcommented, Apr 6, 2020

Anybody? This is a huge blocker for me

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found