-
Notifications
You must be signed in to change notification settings - Fork 281
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
Local environment freezes when navigating #1720
Comments
@rokcetfuel seems to be an issue with the new 2024-01 Hydrogen release. I've been having the same issues attempting to query data from Searchspring server side. It will work if I defer the promise and then use Suspense and the Await component to resolve it client side, but waiting server side now breaks and the same issue has as you've describe, infinite pending of the route. I can see the note on their Oxygen runtime page about using the Question is, how is this going to affect deployments to Oxygen in production? Would be great to get some more info around this from Shopify |
@rokcetfuel @mwshepherd What OS are you using? I've done like 300 sub-sequent requests in the product page several times and didn't find the issue. However another time I think I saw the issue with just ~20 requests or so 🤔 It makes me think it's something related to cache timing but I can't be sure without a reliable way to reproduce it :/
This has nothing to do with Oxygen deployments, afaik. |
A shot in the dark, but perhaps this might be related? Are you making |
What is the location of your example repository?
No response
Which package or tool is having this issue?
CLI
What version of that package or tool are you using?
7.0.0
What version of Remix are you using?
2.5.1
Steps to Reproduce
npm create @shopify/hydrogen@latest
npm run dev
Expected Behavior
Environment never freezes.
Actual Behavior
At some point while navigating the environment freezes - a request never finishes. The URL changes can be seen, but content of the page never changes, and it cannot be refreshed (loading forever). The only thing to help is to quit and rerun
npm run dev
. There aren't any errors in the console, and I was unable to find any logs that would indicate a reason.More details:
The text was updated successfully, but these errors were encountered: