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

Double rendering of component #583

Open
xyzaidw opened this issue Jun 6, 2024 · 0 comments
Open

Double rendering of component #583

xyzaidw opened this issue Jun 6, 2024 · 0 comments

Comments

@xyzaidw
Copy link

xyzaidw commented Jun 6, 2024

I'm facing this weird issue where react snap successfully crawls all the pages and generates static HTMLs and its awesome! BUT when I deploy my build to the server and go to a route that has a static html it first displays the static HTML, thats not interactable and then loads the actual rehydrated component underneath that! so basically I have 2 set of the same htmls.. one is interactable and one is static..
side note: this doesnt happen when i serve the build folder locally

what can be the issue here?? TIA

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

No branches or pull requests

1 participant