navi icon indicating copy to clipboard operation
navi copied to clipboard

Browser router and nested memory router fighting over title

Open strass opened this issue 4 years ago • 0 comments

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.

strass avatar Apr 29 '20 22:04 strass