Skip to content

[Bug]: Cannot destructure property ‘basename’ of s.useContext(…) as it is null with basename configuration. #283

Open
@VenkatS1208

Description

@VenkatS1208

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

Image

Version

v6.2.0

Reproduction

I cannot share repository details

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    COMMUNITY: PR is welcomedWe think it's a good feature to have but would love for the community to help with the PR for itbugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions