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

Struggling to import the Studio into a Hydrogen project #6533

Closed
adamchipperfield opened this issue Apr 30, 2024 · 0 comments
Closed

Struggling to import the Studio into a Hydrogen project #6533

adamchipperfield opened this issue Apr 30, 2024 · 0 comments

Comments

@adamchipperfield
Copy link

I've got an existing Hydrogen application, and I've tried importing the Studio component into a client-only component. But I get an error stating:

TypeError: (intermediate value).hot.on is not a function

It's quite vague, but I'm wondering if the component should work in this context at all?

I've seen a few examples and have tried applying the ClientOnly as well as using React.lazy, but with no luck.

@linear linear bot closed this as completed May 13, 2024
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