-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Nested slots not possible? causes compilation to hang #111
Comments
At the moment the workaround for this is to just do this instead
and then when you're consuming it
but it would be nice to be able to wrap things in other things (as you can do in svelte) |
in v0.90 you can do the following to pass dynamic props down levels which is awesome! page.webc
component-with-wrapper.webc
component.webc
|
referencing this here as it may help others try and understand what I'm on about also having a crack at this myself to see how far I can get. |
Can confirm -- this seems to be a bug |
I'm pretty new to WebC but can confirm this is still an issue. Took me quite a while to figure out what I had done which had caused the issue giving the non-descriptive errors ("JavaScript heap out of memory"). Even if this bug could be aknowledged by a maintiner that would help. Is this something that will never be supported? |
I've been messing around with this for a little bit off and on. And I have something that will stop the heap error from occurring, which I guess fixes the bug. Can possibly put up a PR for that with a more coherent error message. I do feel like Zach might have a few tricks up his sleeve though so not sure how much effort to put in at this stage as all of this will be migrated to ESM to support the new version of Eleventy. |
Hi - I have come across an error (possible bug?) trying to pass through content using nested slots. (but perhaps this is also just usage that is not really indended)
my-paragraph.webc:
paragraph-with-wrapper.webc:
within my index.webc
expected output:
build/compilation fails with a JavaScript heap out of memory error.
am using the 2.x beta with webc 0.8.1
The text was updated successfully, but these errors were encountered: