salvoravida/redux-first-history

Don't display component in in new tab

valen2510 opened this issue · 2 comments

Hi!

I'm trying to open a new tab with a different path so I could render the component related to this route in my app, but the component always renders the component I was before in the app. For example I was in a component called authors, I open an new tab and copy a path to go to books, but event though the path is for books it end up rendering authors.

How can I solve this?

react: ^17.0.2
redux: ^4.1.2
react-router-dom: ^6.0.2
history: 5.1.0

Please can you provide a demo in a codesandbox?

@valen2510 Cannot provide help without a sample code. Please feel free to reopen the issue as you post a code sandbox example.