-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Bug] Stories with additional markup are breaking #145
Comments
This has been fixed in this PR : #133 I'll try to backport it to a v3 branch |
@JReinhold do you know if the current github action can do a release on the v3 branch ? |
Much appreciated. I wish I could just upgrade to Svelte 4, but that's a bigger project than I'd hoped, so a back port would help me out a ton. |
@eyeseast As a workaround, you can stick to v3.0.4, it's probably the latest working version with webpack in the v3 branch. |
I kept hitting different errors when I tried to downgrade, so I settled for a temporary solution of using intermediate components with all the necessary markup, and then rendering those inside a |
@eyeseast any particular part that's making a Svelte 4 upgrade a big upgrade for you? We meant to make Svelte 4 generally pretty easy to upgrade for most users, so I wanted to check if there's anything we need to add to the migration guide or anything like that |
@benmccann I think it's a dependency issue. I was working quickly, trying to solve this and not really looking at the upgrade process, and ran into errors that were hard to trace. I'm going to try again as soon as I get through a different project, so I should have more feedback then. Is there a good place to report upgrade issues, if I do come across them? Don't want to clutter up this thread with unrelated stuff. |
You could post on the Svelte Discord and tag me. I have the same username there |
I'm going to try to get us upgraded to Svelte 4. That's where we should be an it's more efficient than trying to hack a backport. Will report back here if that fails. Appreciate your help here. |
I`m closing this issue as fixed. Feel free to reopen it if needed. |
Describe the bug
We have a collection of stories that were previously working but are now broken, and I'm not sure why. They're all using
.svelte
format. Here's an example:code here
This happens with any component that contains non-component markup -- wrapping HTML, slotted elements or other markup.
Steps to reproduce the behavior
npm i
: https://github.com/MuckRock/documentcloud-frontendnpm run storybook
Screenshots and/or logs
Storybook initially loads, but it hits an error and exits when it tries to render the component above.
Here's the full error message I get:
Environment
Additional context
Our full storybook configuration is here: https://github.com/MuckRock/documentcloud-frontend/tree/master/.storybook
The text was updated successfully, but these errors were encountered: