Skip to content

Known Limitation: When deploying to GitHub Pages, the use of HashRouter is required #20

Open
@JonathanLeeWH

Description

@JonathanLeeWH

Known Limitation:

When deploying to GitHub Pages, the use of HashRouter instead of BrowserRouter in index.js is required

Note: This is applicable especially for test deployment to a the GitHub Test Repository for demonstration purposes.

  • This results in /#/ to be present in the test webpage url, this will not be present if deployed to GitHub Pages. An example is https://jonathanleewh.github.io/software-repository-web-app-test/#/ which may not look very appealing. This is a known limitation of GitHub Pages 's client side routing as it does not support routers as noted in this Link.

GitHub Pages Test deployment: Link

The alternative is to use other services like AWS, Google cloud, etc

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions