You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to load the <open-stories> custom element with Next.js and I seem to be running into a few issues, primarily this is the error I'm getting that is preventing the element from displaying:
TypeError: Cannot set property src of #<OpenStoriesElement> which has only a getter
I'm loading the component client-side like so within a wrapper React component;
I'm unsure if this error is directly related to Next.js or not. When I exclude the src property from the web component it loads correctly, and you can see the Shadow DOM mount. 🤔
Any help would be super appreciated!
The text was updated successfully, but these errors were encountered:
JamesIves
changed the title
Problems with <open-stories> and Next.js
Problems loading <open-stories> and Next.js
Aug 8, 2023
I'm attempting to load the
<open-stories>
custom element with Next.js and I seem to be running into a few issues, primarily this is the error I'm getting that is preventing the element from displaying:I'm loading the component client-side like so within a wrapper React component;
The endpoint resolves to a valid schema, when requested in the browser you get the following:
I'm unsure if this error is directly related to Next.js or not. When I exclude the src property from the web component it loads correctly, and you can see the Shadow DOM mount. 🤔
Any help would be super appreciated!
The text was updated successfully, but these errors were encountered: