Tim Guggenmos

Results 30 comments of Tim Guggenmos

> This seems perfectly reasonable to me: inspect is invoked immediately which means the assignment doesn't happen in the template...if you access `_x` you are not writing to state so...

I feel like that would make sense... Should it make a difference from where you "observe"/"subscribe"? I guess not?

> Can one safely use `queueMicrotask` inside a `$derived` or template? So what about this? Is this allowed?

The issue seems to be resolved 👍🏽 Good work!

If this is intentional, it could make sense to produce a better error? It was not apparent to me that the snippet did not work because of the following. ```...

Hey @eftichis0202, Try importing the image with `?enhanced` and pass that to ``. I do this in an app: ```svelte import exampleMobile from "./Landscape-Player-small.jpg?enhanced" ``` This should work with snippets...

> Isn't the fundamental annoyance that `img` supports an undefined `src` No I don't think that's the issue here 🤷🏽‍♂️

Similar to the main post of this issue: Snippets are "functions", prepopulating their props/arguments would be VERY nice to have, I requested this in #13610.

Hey, i wanted show what this problem leads me to do. I want to show this case to underline the usefulness having a feature solving this issue could/would bring. ---...

I would like to add another feature that would make things easier. It would be great to not only allow users to use "prepopulated" snippets in-place, but also allow the...