Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work refresh page on react app #12379

Open
blkdot opened this issue May 9, 2022 · 4 comments
Open

Doesn't work refresh page on react app #12379

blkdot opened this issue May 9, 2022 · 4 comments

Comments

@blkdot
Copy link

blkdot commented May 9, 2022

Hi React Team,
I have one question.
I am building react app with "react-scripts": "4.0.3".
After uploaded and built on netlify, when refresh the page with param (https://corsac-v2-marketplace.netlify.app/collection/0x5ac4c0970a00e89944e7e69d6e27efc1e65ac4d8), it returns white blank page. (will attach screenshot with console)
But, on local dev(yarn start), it does work (http://localhost:3000/collection/0x5ac4c0970a00e89944e7e69d6e27efc1e65ac4d8).
So, I googled for a few hours in order to fix this issue, but, I couldn't get any solutions.
I tried added /_redirects file and .htaccess file. (it doesn't work)

How can I fix this issue?
Hope your quick help.

Best,,,

image

@kkyusufk
Copy link

kkyusufk commented May 10, 2022

I would recommend you to post this question on stack overflow, the issues section is a place to report bugs or request new features.

@blkdot
Copy link
Author

blkdot commented May 10, 2022

@kkyusufk
I think it is a bug on react-scripts 4.0.3.
So, it should be refresh on react-scripts

@kkyusufk
Copy link

In that case, if you can provide a sample example on codesandbox, we can confirm it and hopefully fix it.

@blkdot
Copy link
Author

blkdot commented May 10, 2022

How about site url link?
Can you check on site url link?
I think you can check it because my front-end was built by react-script 4.0.3.

And then are you a member of react team?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants