I use the create react app scaffold to create a project. I see the document that browserrouter uses the H5 history API localhost:8080/test Refresh under this URL and 404 will be returned, because a request will be made to this address.
The question is, why can't I refresh 404 locally under this URL? In theory, it should be 404
After I upload it to GitHub pages by using yarn buld package, I download it in localhost : eight thousand and eighty / Test will refresh 404, why? Create - react - Does the app deal with local users?