Open
Description
Describe the bug
I have two react apps and deploying in same domain with different basename.
http://domain.com - host application
http://domain.com/app1 - remote application
And I’m using react-router-dom v6 for routing. When navigate from to route application it’s working (http://domain.com/app1/homepage) but when reload the page getting ** Cannot destructure property ‘basename’ of s.useContext(…) as it is null**
Version
v6.2.0
Reproduction
I cannot share repository details
Relevant log output
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.