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

Hook Usage in Storefront Client ("@shopify/hydrogen") #675

Closed
j opened this issue Mar 12, 2023 · 1 comment
Closed

Hook Usage in Storefront Client ("@shopify/hydrogen") #675

j opened this issue Mar 12, 2023 · 1 comment

Comments

@j
Copy link

j commented Mar 12, 2023

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

2023-01

What version of Remix are you using?

N/A

Steps to Reproduce

Use the shopify client in SSR land in other frameworks (Next.js app directory, Astro SSR)

Expected Behavior

I should be able to simply use the client component in a server-only world.

Actual Behavior

Errors due to the use of importing react & browser specific (hooks, etc) code.

@frehner
Copy link
Contributor

frehner commented Mar 13, 2023

Hello, can you please provide an example repo for us to look at? Otherwise we'll end up closing this issue. Thanks!

@blittle blittle closed this as completed Mar 20, 2023
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

3 participants