frontarm / navi

🧭 Declarative, asynchronous routing for React.
https://frontarm.com/navi/
MIT License
2.07k stars 71 forks source link

Browser router and nested memory router fighting over title #181

Open strass opened 4 years ago

strass commented 4 years ago

I am using a memoryRouter to create a picture-in-picture sidecar for the app with its own routing state. It works quite nicely except both the main browser router as well as the nested memory router are using react-helmet to display page titles.

Is there anything I can do to still have the embedded router get the route title to display in the header while allowing the browser tab's title to remain whatever the browser router is on? Either turn off the react-helmet functionality in the memory router or intercept and discard it somehow.